Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 4812166

Browse files
committed
feat(refresh-on.tsx): add mout with refresh at compatible with Turbopack Dev
1 parent e457f36 commit 4812166

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/component/refresh-on.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const RefreshOn = () => {
99
const [, startTransition] = useTransition();
1010

1111
useEffect(() => {
12+
router.refresh();
1213
const handleClick = (e: MouseEvent) => {
1314
const target = e.target as HTMLElement;
1415
const targetAnchor = target.closest('a');

0 commit comments

Comments
 (0)