Skip to content

Commit

Permalink
Fix SessionExpiredModal Props
Browse files Browse the repository at this point in the history
  • Loading branch information
k-burt-uch committed Jan 17, 2025
1 parent f4ac9e9 commit b51291a
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit b51291a

Please sign in to comment.