diff --git a/frontend/src/routes/components/sponsorGuestButtons.tsx b/frontend/src/routes/components/sponsorGuestButtons.tsx index cadf79d88b435636d1d6d7c67cefdc80e174b1d9..f0aa91e3ae3ef36e712a8a9d5996d33bef65ad08 100644 --- a/frontend/src/routes/components/sponsorGuestButtons.tsx +++ b/frontend/src/routes/components/sponsorGuestButtons.tsx @@ -3,7 +3,7 @@ import { Box, IconButton, Theme } from '@mui/material' import PersonAddIcon from '@mui/icons-material/PersonAdd' import React from 'react' import { useTranslation } from 'react-i18next' -import { Link, useHistory } from 'react-router-dom' +import { useHistory } from 'react-router-dom' interface SponsorGuestButtonsProps { yourGuestsActive?: boolean, diff --git a/frontend/src/routes/sponsor/frontpage/index.tsx b/frontend/src/routes/sponsor/frontpage/index.tsx index 6492f73786ae6b2839a33c054eb73b85242058ee..f7e6aa7f218bb5902eacc044a9d2ecfe3d9eb5ff 100644 --- a/frontend/src/routes/sponsor/frontpage/index.tsx +++ b/frontend/src/routes/sponsor/frontpage/index.tsx @@ -168,7 +168,6 @@ const WaitingGuests = ({ persons }: GuestProps) => { function FrontPage() { const [persons, setPersons] = useState<Array<PersonInfo>>([]) - const [t] = useTranslation(['common']) const fetchGuestsInfo = async () => { const response = await fetch('/api/ui/v1/guests/?format=json') const jsonResponse = await response.json()