Browse Source

chore: fixed Nav story useState is not imported

shijia.me 1 year ago
parent
commit
b55b4ee77d
1 changed files with 2 additions and 3 deletions
  1. 2 3
      packages/semi-ui/navigation/_story/NumberItemKey/index.jsx

+ 2 - 3
packages/semi-ui/navigation/_story/NumberItemKey/index.jsx

@@ -1,7 +1,6 @@
-import React from 'react';
+import React, { useState } from 'react';
 import { Nav } from '@douyinfe/semi-ui';
-import { IconSemiLogo } from '@douyinfe/semi-icons';
-import { IconDescriptions, IconIntro, IconTree, IconAvatar, IconTreeSelect, IconTabs } from '@douyinfe/semi-icons-lab';
+import { IconDescriptions, IconTree, IconAvatar } from '@douyinfe/semi-icons-lab';
 
 export default function NumberItemKey() {
     const [openKeys, setOpenKeys] = useState([]);