fix: url query reactivity in post list

This commit is contained in:
Damillora 2023-10-18 23:34:51 +07:00
parent 03dfacc3df
commit eed77ae4c4

View File

@ -5,10 +5,10 @@
import queryString from "query-string"; import queryString from "query-string";
import Tags from "svelte-tags-input"; import Tags from "svelte-tags-input";
import { paginate } from "$lib/simple-pagination"; import { paginate } from "$lib/simple-pagination";
import { goto } from "$app/navigation"; import { beforeNavigate, goto } from "$app/navigation";
import { page as currentPage } from '$app/stores'; import { page as currentPage } from '$app/stores';
const url = $currentPage.url; $: url = $currentPage.url;
let searchTerms = []; let searchTerms = [];