Files
web/apps/scandic-web/components/UserNotFound/UserNotFound.tsx
Linus Flood e2544f9f89 Merged in feat/sw-3192-no-user (pull request #2680)
feat(SW-3192): Checks if user exists, otherwise logout and show error

* feat(SW-3192): Checks if user exists, otherwise logout and show error
2025-08-22 09:47:54 +00:00

29 lines
659 B
TypeScript

"use client"
import { useIntl } from "react-intl"
import styles from "./UserNotFound.module.css"
export function UserNotFound() {
const intl = useIntl()
return (
<div className={styles.container}>
<div className={styles.content}>
<h1 className={styles.header}>
{intl.formatMessage({
defaultMessage: "User not found",
})}
</h1>
<div className={styles.pitch}>
<p className={styles.text}>
{intl.formatMessage({
defaultMessage: "Please try again or contact customer service!",
})}
</p>
</div>
</div>
</div>
)
}