From 1ca8932fd620c0be196a48bb9f79528c70cb85cc Mon Sep 17 00:00:00 2001 From: Christopher David Date: Thu, 29 Aug 2024 11:26:25 -0500 Subject: [PATCH] Create file components/ClientResetHUDButton.tsx --- components/ClientResetHUDButton.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 components/ClientResetHUDButton.tsx diff --git a/components/ClientResetHUDButton.tsx b/components/ClientResetHUDButton.tsx new file mode 100644 index 00000000..176bc1ec --- /dev/null +++ b/components/ClientResetHUDButton.tsx @@ -0,0 +1,17 @@ +"use client"; + +import React from 'react'; +import { useAuth } from "@clerk/nextjs"; +import ResetHUDButton from "./ResetHUDButton"; + +const ClientResetHUDButton: React.FC = () => { + const { isSignedIn } = useAuth(); + + if (!isSignedIn) { + return null; + } + + return ; +}; + +export default ClientResetHUDButton; \ No newline at end of file