Skip to content

Commit da99a22

Browse files
committed
fix(recoverAccount): remove unecessary type
1 parent c38e006 commit da99a22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export function useNetlifyIdentity(
218218
);
219219

220220
const recoverAccount = useCallback(
221-
(remember?: boolean | undefined) => {
221+
(remember?: boolean) => {
222222
if (!param.token || param.type !== 'recovery') {
223223
throw new Error(errors.tokenMissingOrInvalid);
224224
}

0 commit comments

Comments
 (0)