Skip to content

Commit 9c1e62f

Browse files
committed
review
1 parent 881cd2a commit 9c1e62f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/fresh/src/context.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ export class Context<State> {
201201

202202
for (let i = 0; i < css.length; i++) {
203203
const href = css[i];
204+
// FIXME: consider to use `Set` instead of `css: string[]` for entire codebase
204205
if (!ctx.#additionalStyles.includes(href)) {
205206
ctx.#additionalStyles.push(href);
206207
}

0 commit comments

Comments
 (0)