It should work but the TypeScript type is incorrect in the params.
Steps
- Change the eventId type in
packages/react/src/events.ts to be string | undefined. Do not use an optional as we want to force people to put a value here.
- Test this by modifying the examples/nextjs-example to have an undefined when it uses the hook
TRI-1133
It should work but the TypeScript type is incorrect in the params.
Steps
packages/react/src/events.tsto bestring | undefined. Do not use an optional as we want to force people to put a value here.TRI-1133