Skip to content

Commit

Permalink
chore: upgrade to ts 5.0 (#7941)
Browse files Browse the repository at this point in the history
* chore: upgrade to ts 5.0

* chore: try fix
  • Loading branch information
Jack-Works committed Nov 10, 2022
1 parent 7448271 commit 97905e7
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 52 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@dimensiondev/eslint-plugin": "0.0.2-20220516081411-2649814",
"@magic-works/i18n-codegen": "^0.4.0",
"@magic-works/i18n-codegen": "^0.4.1",
"@masknet/cli": "workspace:*",
"@masknet/serializer": "workspace:*",
"@nice-labs/git-rev": "^3.5.0",
Expand All @@ -83,7 +83,7 @@
"prettier": "^2.7.1",
"svgo": "^2.8.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.2-rc",
"typescript": "npm:@typescript-deploys/pr-build@5.0.0-pr-51474-2",
"vite": "^3.1.0",
"vitest": "^0.23.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/src/Components/ActionButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ export function ActionButton<T extends React.ComponentType<any> = React.Componen
const { classes, cx } = useStyles()
return (
<Button
disableElevation
className={cx('actionButton', className, loading ? classes.loading : undefined)}
style={{ width, ...style, pointerEvents: loading ? 'none' : undefined }}
{...rest}
disableElevation
disabled={rest.disabled && !loading}>
{loading ? (
<Box
Expand Down
98 changes: 49 additions & 49 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 97905e7

Please sign in to comment.