mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-18 05:25:08 +00:00
can remove this, preloading is set false on render
This commit is contained in:
@@ -292,9 +292,6 @@ async function navigate(target: Target, id: number): Promise<any> {
|
|||||||
|
|
||||||
const token = current_token = {};
|
const token = current_token = {};
|
||||||
const { redirect, data, nullable_depth } = await loaded;
|
const { redirect, data, nullable_depth } = await loaded;
|
||||||
if (root) {
|
|
||||||
root.set({ preloading: false });
|
|
||||||
}
|
|
||||||
|
|
||||||
if (redirect) {
|
if (redirect) {
|
||||||
await goto(redirect.location, { replaceState: true });
|
await goto(redirect.location, { replaceState: true });
|
||||||
|
|||||||
Reference in New Issue
Block a user