wispy-yellowW
Refine3y ago
3 replies
wispy-yellow

Cannot find name 'IIdentity when using the hook useGetIdentity

import { useGetIdentity } from "@refinedev/core";
const { data: identity } = useGetIdentity<IIdentity>();

I am using the hook like this, but I faced with the problem that Cannot find name 'IIdentity, how to fix this problem? should the interface IIdentity be defiend by myself?
Was this page helpful?