upadte: clean code + add next cloud

This commit is contained in:
Tom Boullay
2026-04-14 16:21:37 +02:00
parent 3adcf9d30e
commit 3a7a5e2eea
20 changed files with 663 additions and 131 deletions
-6
View File
@@ -18,19 +18,13 @@ export function useSecret() {
setSecretVisible((v) => !v)
}, [])
const clearSecretError = useCallback(() => {
setSecretError(null)
}, [])
return {
secret,
secretError,
secretVisible,
isSecretEmpty,
setSecret,
setSecretError,
handleSecretChange,
toggleSecretVisible,
clearSecretError,
}
}