From 012858be59588be3222ada7271f4ea905efdb8fd Mon Sep 17 00:00:00 2001 From: Nadia Date: Wed, 28 Aug 2024 16:06:03 +0300 Subject: [PATCH] test toast --- src/components/ProfileComponent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ProfileComponent.js b/src/components/ProfileComponent.js index f657d3a..f01904b 100644 --- a/src/components/ProfileComponent.js +++ b/src/components/ProfileComponent.js @@ -16,7 +16,7 @@ const Profile = observer(() => { }, []) useEffect(() => { - if(!user.id){ + if(!user?.id){ toast.error((
Hello! To continue using our services, please