feat(SW-3192): Checks if user exists, otherwise logout and show error * feat(SW-3192): Checks if user exists, otherwise logout and show error
29 lines
659 B
TypeScript
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>
|
|
)
|
|
}
|