This commit is contained in:
Tuan Dang
2024-10-02 09:10:22 -04:00
parent 97c2b15e29
commit 2273c21eb2
3 changed files with 1 additions and 9 deletions
@@ -53,9 +53,6 @@ export const ViewSecretPublicPage = () => {
((error as AxiosError)?.response?.data as { message: string })?.message ===
"Invalid credentials";
console.log("data", fetchSecret);
console.log("err", error);
const shouldShowPasswordPrompt =
isInvalidCredential || (fetchSecret?.isPasswordProtected && !fetchSecret.secret);
const isValidatingPassword = Boolean(password) && isFetching;