Skip to content

Commit

Permalink
refactor(website): rename fields in Playground from flag to flags (
Browse files Browse the repository at this point in the history
…#5033)

Part of #4991.
  • Loading branch information
overlookmotel committed Aug 21, 2024
1 parent 4336a32 commit 79c2493
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/playground/symbols.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type Span = { start: number; end: number }

type RenderedSymbol = {
name: string
flag: string
flags: string
symbolId: number
nodeId: number
span: Span
Expand All @@ -14,7 +14,7 @@ type RenderedSymbol = {
name: string
nodeId: number
symbolId: number | null
flag: string
flags: string
}>

}
Expand All @@ -31,7 +31,7 @@ export const renderSymbols = (symbols: SymbolTable): string => {
(acc, nodeId, index) => {
acc.push({
name: symbols.names[index],
flag: symbols.flags[index],
flags: symbols.flags[index],
symbolId: index,
nodeId,
span: symbols.spans[index],
Expand Down

0 comments on commit 79c2493

Please sign in to comment.