MCPcopy Create free account
hub / github.com/triggerdotdev/trigger.dev / useHighlight

Function useHighlight

apps/webapp/app/hooks/useHighlight.ts:4–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import { useUserChanged } from "./useUser";
3
4export function useHighlight() {
5 useUserChanged((user) => {
6 if (!user) {
7 return;
8 }
9
10 H.identify(user.id, {
11 email: user.email,
12 });
13 });
14}

Callers 1

AppFunction · 0.90

Calls 2

useUserChangedFunction · 0.90
identifyMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…