Skip to content

Commit dba58b1

Browse files
authored
chore(release): v1.5.2
chore(release): v1.5.2
2 parents 995dd7c + cb0cd23 commit dba58b1

File tree

105 files changed

+1217
-1307
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+1217
-1307
lines changed

.dumi/component/Hero/Feature/index.tsx

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import { IconFont } from '@components/IconFont';
2-
import React from 'react';
3-
import { useControllerRef } from 'react-form-simple/use/useControllerRef';
2+
import React, { useRef } from 'react';
43
import { useLocalFormat } from 'useLocalFormat';
54
import './index.less';
65

76
export const Feature = React.memo(() => {
87
const { format, isLocalZH_CN } = useLocalFormat();
9-
const { icons } = useControllerRef({
8+
const { icons } = useRef({
109
icons: [
1110
{
1211
name: 'code',
@@ -40,7 +39,7 @@ export const Feature = React.memo(() => {
4039
desc: format({ id: 'hero.feature.type' }),
4140
},
4241
],
43-
});
42+
}).current;
4443

4544
const _isLocalZH_CN = isLocalZH_CN();
4645

0 commit comments

Comments
 (0)