Misc changes

pull/8435/head
Puru Vijay 3 years ago
parent 9672783231
commit 0ecac6b1b1

@ -188,7 +188,7 @@
old_id old_id
.replace(regex, replacement) .replace(regex, replacement)
.replace(/#$/, '') // Replace trailing # at the end .replace(/#$/, '') // Replace trailing # at the end
.replace('#--', '#') // have to do the -- replacement because of --style-props in old being style-props in new .replace('#--', '#') // have to do the -- replacement because of `--style-props` in old being `style-props` in new
); );
continue old_id_block; continue old_id_block;
} }

@ -1,9 +1,8 @@
<script> <script>
import { afterUpdate, onMount } from 'svelte';
import { afterNavigate } from '$app/navigation'; import { afterNavigate } from '$app/navigation';
import { base } from '$app/paths'; import { base } from '$app/paths';
import { page } from '$app/stores'; import { page } from '$app/stores';
import { browser } from '$app/environment'; import { afterUpdate, onMount } from 'svelte';
/** @type {import('./$types').PageData['page']} */ /** @type {import('./$types').PageData['page']} */
export let details; export let details;

Loading…
Cancel
Save