diff --git a/packages/kit/src/runtime/server/data/index.js b/packages/kit/src/runtime/server/data/index.js index 18cf52d1cca5..ce5f3966870a 100644 --- a/packages/kit/src/runtime/server/data/index.js +++ b/packages/kit/src/runtime/server/data/index.js @@ -126,7 +126,7 @@ export async function render_data( // return updated layout data if `parent` is used if (parent_invalid.size) { - parent_invalid.forEach((i) => invalidated[i] = true); + parent_invalid.forEach((i) => (invalidated[i] = true)); nodes = await Promise.all(functions.map((fn) => fn()).map(handle_load_error)); }