We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b92fc09 commit 1ca48e4Copy full SHA for 1ca48e4
src/router-hooks.tsx
@@ -112,9 +112,11 @@ export const RouterProvider = ({ children }: { children: ReactNode }) => {
112
const navigate = useCallback(
113
(newState: RouterState, source?: NavigationSource) => {
114
if (source) {
115
+ const parts = [newState.tab, newState.slug?.id];
116
+ const message = parts.filter((x): x is string => !!x).join("-");
117
logging.event({
118
type: source,
- message: toUrl(newState),
119
+ message,
120
});
121
}
122
const url = toUrl(newState);
0 commit comments