Skip to content

Commit

Permalink
Adding computed inertiaProps to fix console errors (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeelia authored Feb 1, 2023
1 parent fb5a61b commit 5eb1a62
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup>
import { ref } from 'vue';
import { ref, computed } from 'vue';
import { useForm, usePage } from '@inertiajs/vue3'
import ActionLink from '@/Components/ActionLink.vue';
import ActionSection from '@/Components/ActionSection.vue';
Expand All @@ -13,7 +13,7 @@ const confirmingRemove = ref(false);
const accountId = ref(null);
const inertiaProps = usePage().props;
const inertiaProps = computed(() => usePage().props);
const form = useForm({
_method: 'DELETE',
Expand Down

0 comments on commit 5eb1a62

Please sign in to comment.