MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / useIntercomJwt

Function useIntercomJwt

console/src/api/auth.tsx:205–218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203}
204
205export function useIntercomJwt() {
206 const {
207 data: intercomJwt,
208 error,
209 isLoading: loading,
210 } = useQuery({
211 queryKey: queryKeys.intercomJwt(),
212 queryFn: fetchIntercomJwt,
213 staleTime: Infinity,
214 gcTime: Infinity,
215 });
216
217 return { intercomJwt, loading, error };
218}
219
220export function useCanViewBilling({
221 runtimeConfig,

Callers 1

useIntercomFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected