summaryrefslogtreecommitdiffstats
path: root/src/components/ui/button/index.tsx
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2024-03-22 02:33:33 +0530
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2024-03-21 21:24:35 +0000
commit2f3f2ae7f098376f535e5aa993c9eedc14e36f5d (patch)
treed919bda212744493a7b66c2e91a75455421d62cc /src/components/ui/button/index.tsx
parentUpgrade electron to '29.1.5' (diff)
downloadferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.tar.gz
ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.tar.zst
ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.zip
Upgrade node modules
Diffstat (limited to 'src/components/ui/button/index.tsx')
-rw-r--r--src/components/ui/button/index.tsx13
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 */
2import Icon from '@mdi/react'; 2import Icon from '@mdi/react';
3import classnames from 'classnames'; 3import classnames from 'classnames';
4import { Property } from 'csstype'; 4import type { Property } from 'csstype';
5import { noop } from 'lodash'; 5import { noop } from 'lodash';
6import { Component, MouseEventHandler } from 'react'; 6import { Component, type MouseEventHandler } from 'react';
7import withStyles, { WithStylesProps } from 'react-jss'; 7import withStyles, { type WithStylesProps } from 'react-jss';
8import Loader from '../loader/index';
9import { Theme } from '../../../themes';
10import { IFormField } from '../typings/generic';
11import { DEFAULT_LOADER_COLOR } from '../../../config'; 8import { DEFAULT_LOADER_COLOR } from '../../../config';
9import type { Theme } from '../../../themes';
10import Loader from '../loader/index';
11import type { IFormField } from '../typings/generic';
12 12
13type ButtonType = 13type 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}