Skip to content

Commit

Permalink
Revert "fix(website): incorrect reference displayed (#4453)"
Browse files Browse the repository at this point in the history
This reverts commit 855f2f6.
  • Loading branch information
Dunqing authored Jul 27, 2024
1 parent 963a2d1 commit 0f01d84
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions website/playground/symbols.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ export const renderSymbols = (symbols: SymbolTable): string => {
span: symbols.spans[index],
references: symbols.resolvedReferences[index].map(id => ({
referenceId: id,
// reference id is 1-based
...symbols.references[id - 1],
...symbols.references[id],
})),
})
return acc
Expand Down

0 comments on commit 0f01d84

Please sign in to comment.