mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-24 16:54:23 +01:00
fix: hide make on non-register
This commit is contained in:
@@ -20,7 +20,7 @@ export default function MakersPage() {
|
||||
{query.loading ?
|
||||
<MakerCardSkeleton />
|
||||
:
|
||||
query.data?.me ?
|
||||
(query.data?.me && !!query.data.tournamentParticipationInfo) ?
|
||||
<MakerCard isMe maker={{ user: query.data.me as User, hacking_status: query.data.tournamentParticipationInfo?.hacking_status! }} />
|
||||
: null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user