From 53861a36d34cf969c8d8547e1b2c41b43221c3dd Mon Sep 17 00:00:00 2001 From: enes Date: Thu, 24 Oct 2024 10:48:49 +0200 Subject: [PATCH] fix: props and placeholder wip text --- src/layout/socialNav.tsx | 8 +++----- src/pages/profile.tsx | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/layout/socialNav.tsx b/src/layout/socialNav.tsx index 914e8c0..cdc142c 100644 --- a/src/layout/socialNav.tsx +++ b/src/layout/socialNav.tsx @@ -74,14 +74,12 @@ interface NavButtonProps extends NavLinkProps { } const NavButton = ({ - to, - end, svgPath, - viewBox = '0 0 512 512' + viewBox = '0 0 512 512', + ...rest }: NavButtonProps) => ( `btn btnMain socialNavInsideBtn ${ isActive ? 'socialNavInsideBtnActive' : '' diff --git a/src/pages/profile.tsx b/src/pages/profile.tsx index 017b57b..ca3d17d 100644 --- a/src/pages/profile.tsx +++ b/src/pages/profile.tsx @@ -499,8 +499,8 @@ export const ProfilePage = () => { )} - {tab === 1 && <>USER's BLOGS WIP} - {tab === 2 && <>USER's POSTS WIP} + {tab === 1 && <>WIP} + {tab === 2 && <>WIP}