diff options
author | 2023-07-25 09:20:43 -0600 | |
---|---|---|
committer | 2023-07-26 16:28:22 +0000 | |
commit | 4bd3d6764bfd48c881d9722825309ddb5956c758 (patch) | |
tree | 53296e94d91ab2cdc57c4d32a1fbcee071ae7923 /src/components/ui/button/index.tsx | |
parent | chore: upgrade @octokit/core to latest (diff) | |
download | ferdium-app-4bd3d6764bfd48c881d9722825309ddb5956c758.tar.gz ferdium-app-4bd3d6764bfd48c881d9722825309ddb5956c758.tar.zst ferdium-app-4bd3d6764bfd48c881d9722825309ddb5956c758.zip |
style: reformat all files properly
- remove .json from .eslintignore
- add type intellisense to .prettierrc.js
- install missing @jest/types which is used in jest.config.js
- split up typecheck and lint into two separate commands
- remove --require-pragma flag from reformat-files which leads to unformatted files
- install suggested @types/prop-types and @types/react-loader dependencies
- add @ts-expect-error to Loader usages
- reformat all scss files automatically with reformat-files command
Diffstat (limited to 'src/components/ui/button/index.tsx')
-rw-r--r-- | src/components/ui/button/index.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/ui/button/index.tsx b/src/components/ui/button/index.tsx index 9444efde2..1b648b1d5 100644 --- a/src/components/ui/button/index.tsx +++ b/src/components/ui/button/index.tsx | |||
@@ -206,6 +206,7 @@ class ButtonComponent extends Component<IProps, IState> { | |||
206 | width={4} | 206 | width={4} |
207 | scale={0.45} | 207 | scale={0.45} |
208 | // color={theme.buttonLoaderColor[buttonType!]} | 208 | // color={theme.buttonLoaderColor[buttonType!]} |
209 | // @ts-expect-error Property 'parentClassName' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<ReactLoader> & Readonly<LoaderProps> | ||
209 | parentClassName={classes.loader} | 210 | parentClassName={classes.loader} |
210 | /> | 211 | /> |
211 | )} | 212 | )} |