aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/Link.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/Link.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/Link.tsx')
-rw-r--r--src/components/ui/Link.tsx12
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 @@
1import { Component, CSSProperties, ReactNode, MouseEvent } from 'react';
2import { inject, observer } from 'mobx-react';
3import classnames from 'classnames'; 1import classnames from 'classnames';
2import { inject, observer } from 'mobx-react';
3import {
4 type CSSProperties,
5 Component,
6 type MouseEvent,
7 type ReactNode,
8} from 'react';
9import type { StoresProps } from '../../@types/ferdium-components.types';
4import matchRoute from '../../helpers/routing-helpers'; 10import matchRoute from '../../helpers/routing-helpers';
5import { openExternalUrl } from '../../helpers/url-helpers'; 11import { openExternalUrl } from '../../helpers/url-helpers';
6import { StoresProps } from '../../@types/ferdium-components.types';
7 12
8interface IProps extends Partial<StoresProps> { 13interface 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}