mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-13 11:35:28 +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 { redirect, data, nullable_depth } = await loaded;
|
||||
if (root) {
|
||||
root.set({ preloading: false });
|
||||
}
|
||||
|
||||
if (redirect) {
|
||||
await goto(redirect.location, { replaceState: true });
|
||||
|
||||
Reference in New Issue
Block a user