From d8fc3be5ce96773964bea44d89f51ee832f40aaf Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Mon, 18 Mar 2024 09:17:06 +0100 Subject: [PATCH] WIP: OAuth authn --- src/utils.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.tsx b/src/utils.tsx index 4f46934..af8a92e 100644 --- a/src/utils.tsx +++ b/src/utils.tsx @@ -1,6 +1,6 @@ import { useLogout, useGetIdentity, useNotification } from '@refinedev/core' -const doLogout = (logout: Function, notify: Function) => { +const doLogout = (logout: Function, notify: (Function | undefined)) => { logout() notify?.({ type: 'error', -- GitLab