[fix] handle for SSR

pull/6759/head
Conduitry 5 years ago
parent ef69d10a72
commit 23126c3078

@ -91,7 +91,7 @@ export function create_ssr_component(fn) {
const $$ = { const $$ = {
on_destroy, on_destroy,
context: new Map(parent_component ? parent_component.$$.context : context || []), context: new Map(context || (parent_component ? parent_component.$$.context : [])),
// these will be immediately discarded // these will be immediately discarded
on_mount: [], on_mount: [],

Loading…
Cancel
Save