fix: linting warnings (#1069)

## Description

Cleaned up code that was being highlighted in the dev tools
This commit is contained in:
David Nguyen
2024-03-30 13:43:28 +08:00
committed by GitHub
parent 369357aadd
commit 81ee582f1c
8 changed files with 7 additions and 12 deletions

View File

@ -47,12 +47,9 @@ export const ViewRecoveryCodesDialog = () => {
data: recoveryCodes,
mutate,
isLoading,
isError,
error,
} = trpc.twoFactorAuthentication.viewRecoveryCodes.useMutation();
// error?.data?.code
const viewRecoveryCodesForm = useForm<TViewRecoveryCodesForm>({
defaultValues: {
token: '',