From 60beec92e9707a094239cb0ffdcf001a3f8d6094 Mon Sep 17 00:00:00 2001 From: Nick Hamilton Date: Wed, 20 Nov 2024 14:21:04 -0500 Subject: [PATCH] update: manual visits page. partial reloads appears to call wrong function given the argument count 3 --- resources/js/Pages/manual-visits.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/js/Pages/manual-visits.jsx b/resources/js/Pages/manual-visits.jsx index 82e92e5..8df7193 100644 --- a/resources/js/Pages/manual-visits.jsx +++ b/resources/js/Pages/manual-visits.jsx @@ -870,7 +870,7 @@ export default function () { code: dedent` import { router } from '@inertiajs/vue2' - router.visit('/users', { search: 'John' }, { only: ['users'] }) + router.get('/users', { search: 'John' }, { only: ['users'] }) `, }, { @@ -879,7 +879,7 @@ export default function () { code: dedent` import { router } from '@inertiajs/vue3' - router.visit('/users', { search: 'John' }, { only: ['users'] }) + router.get('/users', { search: 'John' }, { only: ['users'] }) `, }, { @@ -888,7 +888,7 @@ export default function () { code: dedent` import { router } from '@inertiajs/react' - router.visit('/users', { search: 'John' }, { only: ['users'] }) + router.get('/users', { search: 'John' }, { only: ['users'] }) `, }, { @@ -897,7 +897,7 @@ export default function () { code: dedent` import { router } from '@inertiajs/svelte' - router.visit('/users', { search: 'John' }, { only: ['users'] }) + router.get('/users', { search: 'John' }, { only: ['users'] }) `, }, ]}