diff --git a/components/UI/Terminal.jsx b/components/UI/Terminal.jsx index e56f07a9..07c11c7a 100644 --- a/components/UI/Terminal.jsx +++ b/components/UI/Terminal.jsx @@ -23,12 +23,25 @@ const Terminal = () => { "sign-in": { help: "Redirects you to the login page", - action: signIn, + action: isLoggedIn ? ( +
+

You Are Alredy Signed In

+
+ ) : ( + signIn + ), }, "sign-out": { help: "Sign out the current user", - action: signOut, + action: !isLoggedIn ? ( +
+

You need to be signed in to use this command!

+ Just type `sign-in` +
+ ) : ( + signOut + ), }, "get-location": {