const { data: userGrantsResponse, error: orgError } = useSWR(org?.id ? const { data: userGrantsResponse, error: orgError } = useSWR(org?.id ? /api/usergrants?orgId=${org.id} : null, (url) =>
fetcher(url),
); : null, (url) =>
fetcher(url),
);
Join the Discord to ask follow-up questions and connect with the community