import { FC, ReactElement } from 'react'; import { useNavigate } from 'react-router'; import { useWinners } from '@imphnen-frontend-service/service'; const WinnerPage: FC = (): ReactElement => { const navigate = useNavigate(); const { data, isLoading, error } = useWinners(); const winners = data?.data ?? []; if (isLoading) { return (
Unable to load winners at this time. Please try again later.
Congratulations to all the winning teams!
Winners will be announced here once the hackathon concludes.
{winner.team.city}
{winner.team.city}
{winner.team.city}
{participant.team.city}
Thank you to all participants for making this hackathon a success. Every project and idea contributed to an incredible showcase of innovation and creativity.