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 68115f1 commit b2a5ed8Copy full SHA for b2a5ed8
packages/client/setup/root.ts
@@ -54,7 +54,7 @@ export default function setupRoot() {
54
const routePath = router.currentRoute.value.path
55
if (!routePath.match(/^\/(\d+|presenter)\/?/))
56
return
57
- if (+state.page !== +currentPage.value || +clicks.value !== +state.clicks) {
+ if (state.lastUpdate?.type === 'presenter' && (+state.page !== +currentPage.value || +clicks.value !== +state.clicks)) {
58
router.replace({
59
path: getPath(state.page),
60
query: {
0 commit comments