diff --git a/src/core/create_app.ts b/src/core/create_app.ts
index 252744c..12de61e 100644
--- a/src/core/create_app.ts
+++ b/src/core/create_app.ts
@@ -251,11 +251,11 @@ function generate_app(manifest_data: ManifestData, path_to_routes: string) {
let l = max_depth;
- let pyramid = ``;
+ let pyramid = ``;
while (l-- > 1) {
pyramid = `
-
+
{#if level${l + 1}}
${pyramid.replace(/\n/g, '\n\t\t\t\t\t')}
{/if}
@@ -281,7 +281,7 @@ function generate_app(manifest_data: ManifestData, path_to_routes: string) {
setContext(CONTEXT_KEY, stores);
-
+
{#if error}
{:else}