hide debug tools if not in development mode (fixes #81)

This commit is contained in:
Grant 2024-07-12 19:00:02 -06:00
parent 12606f3e6d
commit 9dfe5fb2e6
1 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,9 @@ const HeaderLeft = () => {
<div className="box">
<AccountStanding />
<Button onPress={() => setInfoSidebar(true)}>Info</Button>
{import.meta.env.DEV && (
<Button onPress={() => Debug.openDebugTools()}>Debug Tools</Button>
)}
</div>
);
};