Skip to content

Commit 792e900

Browse files
committed
remove outdated comment
1 parent fb938f8 commit 792e900

File tree

1 file changed

+3
-4
lines changed
  • apps/svelte.dev/src/routes/(authed)/playground/[id]

1 file changed

+3
-4
lines changed

apps/svelte.dev/src/routes/(authed)/playground/[id]/+page.svelte

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,9 @@
118118
async function download() {
119119
const { files: components, imports } = repl.toJSON();
120120
121-
const files: Array<{ path: string; data: string }> =
122-
await // TODO this is a bit of a cyclic dependency: we assume that the site
123-
// does provide a template at this position which matches our expectations
124-
(await fetch('/svelte-template.json')).json();
121+
const files: Array<{ path: string; data: string }> = await (
122+
await fetch('/svelte-template.json')
123+
).json();
125124
126125
if (imports.length > 0) {
127126
const idx = files.findIndex(({ path }) => path === 'package.json');

0 commit comments

Comments
 (0)