1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-19 04:51:13 +02:00

add routing

This commit is contained in:
Kushagra Gour
2024-02-28 09:35:36 +05:30
parent 73df9ccf5b
commit de56ee3e1f
5 changed files with 38 additions and 12 deletions

View File

@@ -147,7 +147,7 @@ export function MainHeader(props) {
}
class="main-header__avatar-img"
/>
{props.user && props.user.isPro ? <ProBadge /> : null}
{props.user?.isPro ? <ProBadge /> : null}
</HStack>
</Button>
)}