Cleanup
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { useUserSession } from './use-user-session';
|
||||
|
||||
export function useFactorsMutationKey() {
|
||||
const user = useUserSession();
|
||||
const userId = user?.data?.user.id;
|
||||
|
||||
return ['mfa-factors', userId];
|
||||
}
|
||||
Reference in New Issue
Block a user