can remove this, preloading is set false on render

This commit is contained in:
Rich Harris
2018-08-16 12:39:54 -04:00
parent 17b0fc0d0c
commit 9f4d4e70de

View File

@@ -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 });