diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2024-03-22 02:33:33 +0530 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2024-03-21 21:24:35 +0000 |
commit | 2f3f2ae7f098376f535e5aa993c9eedc14e36f5d (patch) | |
tree | d919bda212744493a7b66c2e91a75455421d62cc /src/components/ui/button | |
parent | Upgrade electron to '29.1.5' (diff) | |
download | ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.tar.gz ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.tar.zst ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.zip |
Upgrade node modules
Diffstat (limited to 'src/components/ui/button')
-rw-r--r-- | src/components/ui/button/index.tsx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/components/ui/button/index.tsx b/src/components/ui/button/index.tsx index 3247072a9..5c606f274 100644 --- a/src/components/ui/button/index.tsx +++ b/src/components/ui/button/index.tsx | |||
@@ -1,14 +1,14 @@ | |||
1 | /* eslint-disable no-use-before-define */ | 1 | /* eslint-disable no-use-before-define */ |
2 | import Icon from '@mdi/react'; | 2 | import Icon from '@mdi/react'; |
3 | import classnames from 'classnames'; | 3 | import classnames from 'classnames'; |
4 | import { Property } from 'csstype'; | 4 | import type { Property } from 'csstype'; |
5 | import { noop } from 'lodash'; | 5 | import { noop } from 'lodash'; |
6 | import { Component, MouseEventHandler } from 'react'; | 6 | import { Component, type MouseEventHandler } from 'react'; |
7 | import withStyles, { WithStylesProps } from 'react-jss'; | 7 | import withStyles, { type WithStylesProps } from 'react-jss'; |
8 | import Loader from '../loader/index'; | ||
9 | import { Theme } from '../../../themes'; | ||
10 | import { IFormField } from '../typings/generic'; | ||
11 | import { DEFAULT_LOADER_COLOR } from '../../../config'; | 8 | import { DEFAULT_LOADER_COLOR } from '../../../config'; |
9 | import type { Theme } from '../../../themes'; | ||
10 | import Loader from '../loader/index'; | ||
11 | import type { IFormField } from '../typings/generic'; | ||
12 | 12 | ||
13 | type ButtonType = | 13 | type ButtonType = |
14 | | 'primary' | 14 | | 'primary' |
@@ -206,7 +206,6 @@ class ButtonComponent extends Component<IProps, IState> { | |||
206 | ); | 206 | ); |
207 | 207 | ||
208 | const wrapperComponent = href ? ( | 208 | const wrapperComponent = href ? ( |
209 | // biome-ignore lint/a11y/useValidAnchor: <explanation> | ||
210 | <a | 209 | <a |
211 | href={href} | 210 | href={href} |
212 | target={target} | 211 | target={target} |