diff options
Diffstat (limited to 'src/components/ui/button/index.tsx')
-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} |