Build update
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user