Skip to content

Commit 29ec0ba

Browse files
Deepthi-Chandbhavabhuthi
authored andcommitted
change to route events component
1 parent df0608c commit 29ec0ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/navigation.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function useOnComplete() {
2121
React.useEffect(() => navigateEnd(), [pathname, searchParams]);
2222
}
2323

24-
function __RouterEvents() {
24+
function RouterEventsComponent() {
2525
useOnComplete();
2626
return null;
2727
}
@@ -30,7 +30,7 @@ function __RouterEvents() {
3030
export function RouterEvents() {
3131
return (
3232
<React.Suspense>
33-
<__RouterEvents />
33+
<RouterEventsComponent />
3434
</React.Suspense>
3535
);
3636
}

0 commit comments

Comments
 (0)