diff --git a/frontend/src/routes/guest/register/index.tsx b/frontend/src/routes/guest/register/index.tsx index 3b8bd5b022442fcd09f8d6927bd371aa94f9d97f..d1adc3e554da35240b7ab474384fcf8017291060 100644 --- a/frontend/src/routes/guest/register/index.tsx +++ b/frontend/src/routes/guest/register/index.tsx @@ -22,7 +22,7 @@ import GuestRegisterStep from './steps/register' import GuestConsentStep from './steps/consent' import GuestSuccessStep from './steps/success' import ServerErrorReport, { - ErrorReportProps, + ServerErrorReportData, } from '../../../components/errorReport' enum Step { @@ -79,9 +79,9 @@ export default function GuestRegister() { const [guestConsentData, setGuestConsentData] = useState<GuestConsentData | null>(null) const [fetchInvitationDataError, setFetchInvitationDataError] = - useState<ErrorReportProps | null>(null) + useState<ServerErrorReportData | null>(null) const [submitGuestDataError, setSubmitGuestDataError] = - useState<ErrorReportProps | null>(null) + useState<ServerErrorReportData | null>(null) const fetchInvitationData = async () => { const response = await fetch('/api/ui/v1/invited/', fetchJsonOpts())