diff --git a/web/pages/challenges/index.tsx b/web/pages/challenges/index.tsx index c43076e5..c55c9335 100644 --- a/web/pages/challenges/index.tsx +++ b/web/pages/challenges/index.tsx @@ -38,6 +38,22 @@ export default function LinkPage() { const userChallenges = useUserChallenges(user?.id ?? '') const challenges = useAcceptedChallenges() + const userTab = user + ? [ + { + content: , + title: 'Your Challenges', + }, + ] + : [] + + const publicTab = [ + { + content: , + title: 'Public Challenges', + }, + ] + return ( + Find or create a question to challenge someone to a bet. - , - title: 'Public Challenges', - }, - ].concat( - user - ? { - content: , - title: 'Your Challenges', - } - : [] - )} - /> + + )
Find or create a question to challenge someone to a bet.