fix: props and placeholder wip text
This commit is contained in:
parent
99ce338502
commit
53861a36d3
@ -74,14 +74,12 @@ interface NavButtonProps extends NavLinkProps {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const NavButton = ({
|
const NavButton = ({
|
||||||
to,
|
|
||||||
end,
|
|
||||||
svgPath,
|
svgPath,
|
||||||
viewBox = '0 0 512 512'
|
viewBox = '0 0 512 512',
|
||||||
|
...rest
|
||||||
}: NavButtonProps) => (
|
}: NavButtonProps) => (
|
||||||
<NavLink
|
<NavLink
|
||||||
to={to}
|
{...rest}
|
||||||
end={end}
|
|
||||||
className={({ isActive }) =>
|
className={({ isActive }) =>
|
||||||
`btn btnMain socialNavInsideBtn ${
|
`btn btnMain socialNavInsideBtn ${
|
||||||
isActive ? 'socialNavInsideBtnActive' : ''
|
isActive ? 'socialNavInsideBtnActive' : ''
|
||||||
|
@ -499,8 +499,8 @@ export const ProfilePage = () => {
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{tab === 1 && <>USER's BLOGS WIP</>}
|
{tab === 1 && <>WIP</>}
|
||||||
{tab === 2 && <>USER's POSTS WIP</>}
|
{tab === 2 && <>WIP</>}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user