hide debug tools if not in development mode (fixes #81)
This commit is contained in:
parent
12606f3e6d
commit
9dfe5fb2e6
|
@ -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>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue