mirror of
https://github.com/handsomezhuzhu/2fa-tool.git
synced 2026-04-18 22:32:53 +00:00
feat: restore showAdvanced state for token dialog
Reintroduce 'showAdvanced' to control advanced settings visibility. Co-authored-by: Simon <85533298+handsomezhuzhu@users.noreply.github.com>
This commit is contained in:
@@ -162,6 +162,7 @@ export default function TwoFactorAuth() {
|
||||
const [isCameraOpen, setIsCameraOpen] = useState(false)
|
||||
const [isSettingsOpen, setIsSettingsOpen] = useState(false)
|
||||
const [editingToken, setEditingToken] = useState<TOTPToken | null>(null)
|
||||
const [showAdvanced, setShowAdvanced] = useState(false)
|
||||
const [showExportPassword, setShowExportPassword] = useState(false)
|
||||
const [exportPassword, setExportPassword] = useState("")
|
||||
const [importPassword, setImportPassword] = useState("")
|
||||
|
||||
Reference in New Issue
Block a user