style: fix prefer-svelte-reactivity — replace with Svelte reactive equivalents
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { authStore } from '$lib/stores/auth.svelte';
|
||||
import { SvelteDate } from 'svelte/reactivity';
|
||||
import { SvelteDate, SvelteURLSearchParams } from 'svelte/reactivity';
|
||||
import { toast } from 'svelte-sonner';
|
||||
|
||||
// shadcn-svelte components
|
||||
@@ -31,7 +31,7 @@
|
||||
async function fetchBookings(pageIdx: number = 0, search: string = '') {
|
||||
loadingSearch = true;
|
||||
try {
|
||||
const params = new URLSearchParams({
|
||||
const params = new SvelteURLSearchParams({
|
||||
per_page: '3'
|
||||
});
|
||||
const cursor = cursors[pageIdx];
|
||||
|
||||
Reference in New Issue
Block a user