Skip to content

Commit

Permalink
fix usePlausibleEvent sending old telemetry level preference property…
Browse files Browse the repository at this point in the history
… to submitPlausibleEvent
  • Loading branch information
iLynxcat committed Sep 28, 2024
1 parent 4483496 commit b3957f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/hooks/usePlausible.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export const usePlausibleEvent = (): ((props: EventSubmissionCallbackProps) => P

submitPlausibleEvent({
debugState,
shareFullTelemetry: telemetryState.shareFullTelemetry,
shareFullTelemetry: telemetryState.telemetryLevelPreference === 'full',
platformType: telemetryState.platform,
buildInfo: telemetryState.buildInfo,
...props
Expand Down

0 comments on commit b3957f4

Please sign in to comment.