Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
kylezryr committed Dec 8, 2024
1 parent 5857e04 commit 0d59cb8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { useEffect, useState } from 'react';
import Link from 'next/link';
import { usePathname } from 'next/navigation';
import CONFIG from '@/lib/configs';
import { Flex } from '@/styles/containers';
import { useAuth } from '@/utils/AuthProvider';
import { useProfile } from '@/utils/ProfileProvider';
import Icon from '../Icon';
Expand Down Expand Up @@ -48,7 +49,10 @@ export default function Header({ toggleNavColumn }: HeaderProps) {
)
) : (
// display login link if user is not logged in
<Link href={CONFIG.login}>Login/Sign Up</Link>
<Flex $direction="row" $gap="8px" $w="max-content">
<Link href={CONFIG.login}>Login</Link>
<Link href={CONFIG.signup}>Sign Up</Link>
</Flex>
)}
</Container>
);
Expand Down
1 change: 0 additions & 1 deletion components/NavSystem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import NavColumn from './NavColumn';

export default function NavSystem() {
const [isNavColumnOpen, setIsNavColumnOpen] = useState(false);
const { userId } = useAuth();

const toggleNavColumn = () => {
setIsNavColumnOpen(!isNavColumnOpen);
Expand Down

0 comments on commit 0d59cb8

Please sign in to comment.