diff --git a/src/generators/server-side-rendering/visitors/AwaitBlock.ts b/src/generators/server-side-rendering/visitors/AwaitBlock.ts index b24e8b3636..1570647db5 100644 --- a/src/generators/server-side-rendering/visitors/AwaitBlock.ts +++ b/src/generators/server-side-rendering/visitors/AwaitBlock.ts @@ -9,7 +9,7 @@ export default function visitAwaitBlock( node: Node ) { block.contextualise(node.expression); - const { dependencies, snippet } = node.metadata; + const { snippet } = node.metadata; // TODO should this be the generator's job? It's duplicated between // here and the equivalent DOM compiler visitor diff --git a/src/generators/server-side-rendering/visitors/EachBlock.ts b/src/generators/server-side-rendering/visitors/EachBlock.ts index 4818ad548f..eaf43f8bd3 100644 --- a/src/generators/server-side-rendering/visitors/EachBlock.ts +++ b/src/generators/server-side-rendering/visitors/EachBlock.ts @@ -9,7 +9,7 @@ export default function visitEachBlock( node: Node ) { block.contextualise(node.expression); - const { dependencies, snippet } = node.metadata; + const { snippet } = node.metadata; const open = `\${ ${node.else ? `${snippet}.length ? ` : ''}${snippet}.map(${node.index ? `(${node.context}, ${node.index})` : `(${node.context})`} => \``; generator.append(open);