Build update

This commit is contained in:
Mistral Vibe
2026-04-10 12:23:27 +02:00
parent 5bb3f9c1f7
commit 4bab0a76f7
5 changed files with 12 additions and 26 deletions

View File

@@ -264,11 +264,7 @@ function CreateBandModal({ onClose }: { onClose: () => void }) {
});
// Start on step 0 (storage) if NC not configured, otherwise jump straight to step 1 (band)
const [step, setStep] = useState<0 | 1 | null>(null);
useEffect(() => {
if (me && step === null) setStep(me.nc_configured ? 1 : 0);
}, [me, step]);
const [step, setStep] = useState<0 | 1 | null>(me ? (me.nc_configured ? 1 : 0) : null);
// Close on Escape
useEffect(() => {