fix: remove Datasets tab when not logged in

This commit is contained in:
2026-03-03 20:32:33 +00:00
parent 249528bb5c
commit f9bc9cf9c9

View File

@@ -95,13 +95,13 @@ const AppLayout = () => {
</div> </div>
<div style={styles.controlsWrapped}> <div style={styles.controlsWrapped}>
<button {isSignedIn && <button
type="button" type="button"
style={location.pathname === "/datasets" ? styles.buttonPrimary : styles.buttonSecondary} style={location.pathname === "/datasets" ? styles.buttonPrimary : styles.buttonSecondary}
onClick={() => navigate("/datasets")} onClick={() => navigate("/datasets")}
> >
My datasets My datasets
</button> </button>}
<button <button
type="button" type="button"