Skip to content

Commit

Permalink
Fix SymbolDoc in Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasBoll committed Nov 13, 2024
1 parent 1e483a1 commit 5398f9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/docs/lib/MDXElements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ const Button = (props: any) => {
<SymbolDialog
value={{
kind: 'symbol',
name: props.children[0],
name: props.children?.[0] || '',
displayName: props['data-symbol'],
value: props.children[0],
value: props.children?.[0] || '',
}}
/>
</code>
Expand Down

0 comments on commit 5398f9f

Please sign in to comment.