diff --git a/frontend/components/BlueLink.tsx b/frontend/components/BlueLink.tsx index 706ebe4..3b9995c 100644 --- a/frontend/components/BlueLink.tsx +++ b/frontend/components/BlueLink.tsx @@ -7,8 +7,10 @@ export type Props = { export default function BlueLink({ to, children }: Props) { return ( - - {children} + + + {children} + ); } diff --git a/frontend/components/NavItem.tsx b/frontend/components/NavItem.tsx index f0360ff..98549d6 100644 --- a/frontend/components/NavItem.tsx +++ b/frontend/components/NavItem.tsx @@ -9,11 +9,10 @@ export interface Props { export default function NavItem(props: Props) { const ret = ( - - {props.children} + + + {props.children} + ); diff --git a/frontend/components/Navigation.tsx b/frontend/components/Navigation.tsx index 592a281..9f29cfc 100644 --- a/frontend/components/Navigation.tsx +++ b/frontend/components/Navigation.tsx @@ -56,9 +56,7 @@ export default function Navigation() { const nav = user ? ( <> - - @{user.username} - + @{user.username} Settings Log out diff --git a/frontend/pages/u/[user]/index.tsx b/frontend/pages/u/[user]/index.tsx index dc7dea3..c4ddce8 100644 --- a/frontend/pages/u/[user]/index.tsx +++ b/frontend/pages/u/[user]/index.tsx @@ -18,6 +18,7 @@ import { HeartFill, People, } from "react-bootstrap-icons"; +import BlueLink from "../../../components/BlueLink"; interface Props { user: User; @@ -38,12 +39,7 @@ export default function Index({ user }: Props) { public profile.
- - Edit your profile - + Edit your profile )}