diff --git a/apps/forge/src/components/ucard-reader/index.tsx b/apps/forge/src/components/ucard-reader/index.tsx index 4819a802..83f908d0 100644 --- a/apps/forge/src/components/ucard-reader/index.tsx +++ b/apps/forge/src/components/ucard-reader/index.tsx @@ -98,7 +98,14 @@ export default function UCardReader() { }, success: () => { queryClient.invalidateQueries({ queryKey: ["locationStatus", "locationList", { activeLocation }] }); - return `Successfully signed out ${uCardNumber}`; + return ( + <> + Successfully signed out{" "} + + {matchingUser.display_name} + + + ); }, }); }), diff --git a/apps/forge/src/routes/_authenticated/_reponly/signin/dashboard/-components/SignedInUserCard/index.tsx b/apps/forge/src/routes/_authenticated/_reponly/signin/dashboard/-components/SignedInUserCard/index.tsx index b75edb71..a046ef4e 100644 --- a/apps/forge/src/routes/_authenticated/_reponly/signin/dashboard/-components/SignedInUserCard/index.tsx +++ b/apps/forge/src/routes/_authenticated/_reponly/signin/dashboard/-components/SignedInUserCard/index.tsx @@ -62,7 +62,14 @@ export const SignedInUserCard: React.FunctionComponent = ({ }, onSuccess: () => { abortController.abort(); - toast.success(`Successfully signed out ${user.display_name}`); + toast.success( + <> + Successfully signed out{" "} + + {user.display_name} + + , + ); onSignOut?.(); queryClient.invalidateQueries({ queryKey: ["locationStatus", "locationList", { activeLocation }] }); },