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">
|
<div className="box">
|
||||||
<AccountStanding />
|
<AccountStanding />
|
||||||
<Button onPress={() => setInfoSidebar(true)}>Info</Button>
|
<Button onPress={() => setInfoSidebar(true)}>Info</Button>
|
||||||
|
{import.meta.env.DEV && (
|
||||||
<Button onPress={() => Debug.openDebugTools()}>Debug Tools</Button>
|
<Button onPress={() => Debug.openDebugTools()}>Debug Tools</Button>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue