mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-11 19:04:30 +00:00
fix empty preload
This commit is contained in:
@@ -225,7 +225,7 @@ export function get_page_handler(
|
||||
|
||||
props[`level${l++}`] = {
|
||||
component: part.component,
|
||||
props: preloaded[i + 1],
|
||||
props: preloaded[i + 1] || {},
|
||||
segment: segments[i]
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user