diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fc6e01d..3812c6e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -105,6 +105,7 @@ jobs: with: node-version: 16 - run: yarn add -D minimist esno typescript + # refs/tags/v0.0.0 -> 0.0.0 - run: yarn updater -v=${GITHUB_REF:11} - name: Deploy install.json diff --git a/src/components/Tabs/index.tsx b/src/components/Tabs/index.tsx index aa645d8..86a0af6 100644 --- a/src/components/Tabs/index.tsx +++ b/src/components/Tabs/index.tsx @@ -28,11 +28,11 @@ const Tabs: React.FC = ({ className, children, onChange }) => { return (
- {tabs?.map((node, idx) => { + {tabs?.map((node: any, idx) => { return (
handleChange(node.props.tabKey, idx)} + onClick={() => handleChange(node?.props?.tabKey, idx)} className={clsx({ active: activeIndex === idx })} > {node.props.tab}