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/Link.tsx | |
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/Link.tsx')
-rw-r--r-- | src/components/ui/Link.tsx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/components/ui/Link.tsx b/src/components/ui/Link.tsx index f9fdd57f9..816798d79 100644 --- a/src/components/ui/Link.tsx +++ b/src/components/ui/Link.tsx | |||
@@ -1,9 +1,14 @@ | |||
1 | import { Component, CSSProperties, ReactNode, MouseEvent } from 'react'; | ||
2 | import { inject, observer } from 'mobx-react'; | ||
3 | import classnames from 'classnames'; | 1 | import classnames from 'classnames'; |
2 | import { inject, observer } from 'mobx-react'; | ||
3 | import { | ||
4 | type CSSProperties, | ||
5 | Component, | ||
6 | type MouseEvent, | ||
7 | type ReactNode, | ||
8 | } from 'react'; | ||
9 | import type { StoresProps } from '../../@types/ferdium-components.types'; | ||
4 | import matchRoute from '../../helpers/routing-helpers'; | 10 | import matchRoute from '../../helpers/routing-helpers'; |
5 | import { openExternalUrl } from '../../helpers/url-helpers'; | 11 | import { openExternalUrl } from '../../helpers/url-helpers'; |
6 | import { StoresProps } from '../../@types/ferdium-components.types'; | ||
7 | 12 | ||
8 | interface IProps extends Partial<StoresProps> { | 13 | interface IProps extends Partial<StoresProps> { |
9 | children: ReactNode; | 14 | children: ReactNode; |
@@ -54,7 +59,6 @@ class Link extends Component<IProps> { | |||
54 | }); | 59 | }); |
55 | 60 | ||
56 | return ( | 61 | return ( |
57 | // biome-ignore lint/a11y/useValidAnchor: <explanation> | ||
58 | <a | 62 | <a |
59 | href={router.history.createHref(to)} | 63 | href={router.history.createHref(to)} |
60 | className={linkClasses} | 64 | className={linkClasses} |