From 13a0c40cc00c1de2af59bf97af8b6b9ab6963e4d Mon Sep 17 00:00:00 2001 From: Quantum Date: Sun, 7 Apr 2024 03:06:02 -0400 Subject: [PATCH] Hide code without entering secret key --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index d3cc023..c3f9a5d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -16,7 +16,7 @@ function App() { const validStep = step > 0; const validDigits = digits > 0 && digits <= 10; - const valid = validStep && validDigits; + const valid = validStep && validDigits && !!secret; React.useEffect(() => { if (!validStep) return;