'use client' import TeamApplications from '@/app/dashboard/_components/TeamApplications' import Button from '@/components/ui/Button' import ButtonGroup from '@/components/ui/ButtonGroup' import Typography from '@/components/ui/Typography' import useSession from '@/hooks/useSession' import { css } from '@/styled-system/css' import { ADMIN_CLAN_ID } from 'entgamers-database/frontend/clanes/administrative' import { AnimatePresence, motion } from 'framer-motion' import { useState, type FC } from 'react' type Tab = undefined | 'teamApplications' const DashboardTabs: FC = () => { const { clanes, belongToClan } = useSession('/login') const [currentTab, setCurrentTab] = useState(undefined) return ( <> {clanes !== undefined && ( {belongToClan(ADMIN_CLAN_ID) && ( )} )}
{currentTab === undefined && ( Selecciona una de las opciones de arriba para comenzar. )} {currentTab === 'teamApplications' && ( )}
) } export default DashboardTabs