Skip to content

Commit

Permalink
chore: fix implementation of footer in tools
Browse files Browse the repository at this point in the history
  • Loading branch information
timoheddes committed Aug 11, 2023
1 parent 97c2948 commit 2d6523f
Showing 1 changed file with 2 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { NavFooter, SystemIcon, useModal } from '@kadena/react-ui';

import { linkClass } from './styles.css';

import { OptionsModal } from '@/components/Global/OptionsModal';
import Link from 'next/link';
import { useTheme } from 'next-themes';
import useTranslation from 'next-translate/useTranslation';
import React, { FC } from 'react';
Expand Down Expand Up @@ -50,19 +47,8 @@ const FooterWrapper: FC = () => {
<NavFooter.Panel>
{links.map((item, index) => {
return (
<NavFooter.Link key={index}>
{item.href !== undefined ? (
<Link
className={linkClass}
href={item.href}
target={item.target}
passHref
>
{item.title}
</Link>
) : (
<span>{item.title}</span>
)}
<NavFooter.Link key={index} href={item.href} target={item.target}>
{item.title}
</NavFooter.Link>
);
})}
Expand Down

0 comments on commit 2d6523f

Please sign in to comment.