Skip to content

Commit 9444ced

Browse files
committed
decide to use modal to managed account
1 parent 79c230d commit 9444ced

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default function AccountModal() {
2+
return null;
3+
}

frontend/components/Navbar/Navbar.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import Image from "next/image";
1010
import Searchbar from "./Searchbar";
1111
import navbarView from "styles/navbar.module.scss";
1212
import { useEffect, useState } from "react";
13+
import AccountModal from "./AccountModal";
1314

1415
const GlobalNavbar: React.FC = () => {
1516
const userAuth = useAuth();
@@ -130,6 +131,7 @@ const GlobalNavbar: React.FC = () => {
130131
</svg>
131132
))}
132133
{authButton()}
134+
<AccountModal />
133135
</div>
134136
</Navbar.Collapse>
135137
</Container>

0 commit comments

Comments
 (0)