Skip to content

Commit a0df33e

Browse files
committed
Update Poll.vue
1 parent 1ca4e82 commit a0df33e

File tree

1 file changed

+2
-2
lines changed
  • playgrounds/vue3/resources/js/Pages

1 file changed

+2
-2
lines changed

playgrounds/vue3/resources/js/Pages/Poll.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const triggerAsyncRedirect = () => {
3030
)
3131
}
3232
33-
const { start, stop } = usePoll(
33+
const { start: startHookPolling, stop } = usePoll(
3434
2000,
3535
{
3636
only: ['asdf'],
@@ -46,7 +46,7 @@ const { start, stop } = usePoll(
4646
4747
onMounted(() => {
4848
setTimeout(() => {
49-
start()
49+
startHookPolling()
5050
}, 2000)
5151
5252
const { stop: stopUserPolling } = router.poll(

0 commit comments

Comments
 (0)