From b51291a6f0037fc59736a68a72afc5e18a56dadb Mon Sep 17 00:00:00 2001 From: Kyle Burton Date: Thu, 16 Jan 2025 23:23:38 -0600 Subject: [PATCH] Fix SessionExpiredModal Props --- .../src/components/Modals/SessionExpiredModal.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/frontend/src/components/Modals/SessionExpiredModal.tsx b/packages/frontend/src/components/Modals/SessionExpiredModal.tsx index 3a9b76fa..ae94a2f3 100644 --- a/packages/frontend/src/components/Modals/SessionExpiredModal.tsx +++ b/packages/frontend/src/components/Modals/SessionExpiredModal.tsx @@ -4,13 +4,14 @@ import { Text } from '@mantine/core'; import { BaseModal } from './BaseModal'; import { SessionExpiredModalConfig } from "./types"; +interface SessionExpiredModalProps { + readonly openModal: boolean; + config: SessionExpiredModalConfig; +} export const SessionExpiredModal = ({ openModal, config -}: { - openModal: boolean; - config: SessionExpiredModalConfig; -}): JSX.Element => { +}: SessionExpiredModalProps): JSX.Element => { const router = useRouter(); const onLogout = useCallback(() => {