Skip to content

Commit b85a0d7

Browse files
committed
refactor: simplify toggleRecoveryCodesVisibility function signature
1 parent f8ca148 commit b85a0d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/components/TwoFactorRecoveryCodes.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const { recoveryCodesList, fetchRecoveryCodes } = useTwoFactorAuth();
1111
const isRecoveryCodesVisible = ref<boolean>(false);
1212
const recoveryCodeSectionRef = ref<HTMLDivElement | null>(null);
1313
14-
const toggleRecoveryCodesVisibility = async (): Promise<void> => {
14+
const toggleRecoveryCodesVisibility = async () => {
1515
if (!isRecoveryCodesVisible.value && !recoveryCodesList.value.length) {
1616
await fetchRecoveryCodes();
1717
}

0 commit comments

Comments
 (0)