Skip to content

Commit

Permalink
fix: test sans date de création
Browse files Browse the repository at this point in the history
  • Loading branch information
slafayIGN committed Jun 28, 2024
1 parent 6ab06c5 commit 22d0eb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/entrepot/pages/users/Me.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Translations, declareComponentKeys, getTranslation, useTranslation } fr
import SymfonyRouting from "../../../modules/Routing";
import { useAuthStore } from "../../../stores/AuthStore";
import { useSnackbarStore } from "../../../stores/SnackbarStore";
import { formatDateFromISO } from "../../../utils";
// import { formatDateFromISO } from "../../../utils";

const Me = () => {
const { t: tCommon } = getTranslation("Common");
Expand All @@ -28,7 +28,7 @@ const Me = () => {
<p>{t("lastname", { lastName: user?.last_name ?? "" })}</p>
<p>{t("username", { userName: user?.user_name ?? "" })}</p>
<p>{t("email", { email: user.email })}</p>
<p>{t("registration_date", { date: formatDateFromISO(user.account_creation_date) })}</p>
{/* <p>{t("registration_date", { date: formatDateFromISO(user.account_creation_date) })}</p> */}
<div className={fr.cx("fr-grid-row", "fr-grid-row--middle", "fr-mb-6v")}>
{t("id", { id: user.id })}
<Button
Expand Down

0 comments on commit 22d0eb2

Please sign in to comment.