From b2880faa658b74c4f96736eabb99d7ebbf9cef1d Mon Sep 17 00:00:00 2001 From: Chew Tee Ming Date: Fri, 29 Nov 2024 11:48:25 +0800 Subject: [PATCH] format --- packages/kit/src/runtime/server/data/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }