clear errors on successful render

This commit is contained in:
Rich Harris
2018-10-16 15:59:57 -04:00
parent cb45bb0fbe
commit 64e5065aa5
5 changed files with 27 additions and 3 deletions

View File

@@ -310,7 +310,7 @@ export function prepare_page(target: Target): Promise<{
};
}
const props = { path, query };
const props = { path, query, error: null, status: null };
const data = {
path,
preloading: false,