import { Icon } from '@keystar/ui/icon' import { shieldAlertIcon } from '@keystar/ui/icon/icons/shieldAlertIcon' import { Heading, Text } from '@keystar/ui/typography' import { ErrorContainer } from '../../../../admin-ui/components/Errors' type NoAccessPage = { sessionsEnabled: boolean } export const getNoAccessPage = (props: NoAccessPage) => () => export function NoAccessPage(_: NoAccessPage) { return ( No access Unable to access to this page. You may need to request access from your system administrator, or sign in with a different account. ) }