Skip to content

Commit

Permalink
Create file components/ClientResetHUDButton.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
AtlantisPleb committed Aug 29, 2024
1 parent 6b37cad commit 1ca8932
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions components/ClientResetHUDButton.tsx
Original file line number Diff line number Diff line change
@@ -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 <ResetHUDButton />;
};

export default ClientResetHUDButton;

0 comments on commit 1ca8932

Please sign in to comment.