fix: eslint warnings (#252)
This commit is contained in:
@@ -25,5 +25,5 @@ export const useFormGuard = (isDirty: boolean, confirmText: string) => {
|
||||
window.removeEventListener('beforeunload', handleBeforeUnload);
|
||||
window.removeEventListener('click', handleClick, true);
|
||||
};
|
||||
}, [isDirty]);
|
||||
}, [confirmText, isDirty]);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user