File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ import { UserService } from "@/services/UserService";
7
7
8
8
import ClientBottomNavbar from "./ClientBottomNavbar" ;
9
9
10
- //TODO: add redirects
11
-
12
10
export default async function BottomNavbar ( ) {
13
11
const session = await getServerSession ( authOptions ) ;
14
12
if ( ! session ) redirect ( "/login" ) ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import giftBoxIcon from "@/assets/icons/gift-box.png";
12
12
import attendeeLink from "@/assets/icons/link_card_attendee.png"
13
13
import companyLink from "@/assets/icons/link_card_company.png"
14
14
15
- //TODO: add redirects
15
+ //TODO: add the redirects on the buttons to the corresponding pages once the pages are implemented
16
16
17
17
function RightIcon ( { role } : { role : string } ) {
18
18
switch ( role ) {
@@ -49,7 +49,7 @@ function RightIcon({ role } : { role: string}) {
49
49
}
50
50
}
51
51
52
- export default function ClientBottomNavbar ( { user } : { user : any } ) {
52
+ export default function ClientBottomNavbar ( { user } : { user : User } ) {
53
53
const path = usePathname ( )
54
54
return (
55
55
< div className = "flex flex-col items-center" >
You can’t perform that action at this time.
0 commit comments