Skip to content

Commit

Permalink
chore: updater
Browse files Browse the repository at this point in the history
  • Loading branch information
lencx committed Oct 2, 2022
1 parent b800e6b commit 95d01cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/components/Tabs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ const Tabs: React.FC<TabsProps> = ({ className, children, onChange }) => {
return (
<div className={clsx('omb-tabs', className)}>
<div className="omb-tabs-head">
{tabs?.map((node, idx) => {
{tabs?.map((node: any, idx) => {
return (
<div
key={+idx}
onClick={() => handleChange(node.props.tabKey, idx)}
onClick={() => handleChange(node?.props?.tabKey, idx)}
className={clsx({ active: activeIndex === idx })}
>
{node.props.tab}
Expand Down

0 comments on commit 95d01cf

Please sign in to comment.