Skip to content

Commit 8336464

Browse files
committed
[compiler][playground] Fix displayed naming of outlined functions
[ghstack-poisoned]
1 parent 727b361 commit 8336464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/apps/playground/components/Editor/EditorImpl.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ function compile(source: string): [CompilerOutput, 'flow' | 'typescript'] {
235235
name: result.name,
236236
value: {
237237
type: 'FunctionDeclaration',
238-
id,
238+
id: withIdentifier(result.value.id),
239239
async: result.value.async,
240240
generator: result.value.generator,
241241
body: result.value.body,

0 commit comments

Comments
 (0)