Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Specify "magic" variables' type only in component tooltip, not via prefix #6116

Merged
merged 2 commits into from
Jun 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ export const { MagicValue } = createCodecComponent(
<Container
prefix={
<>
<Code title="type: magic (debugger-only)">{type.variable}</Code>
<Code type="colon">:</Code>
<Code type="bracket">{"{"}</Code>
<Code title={`type: ${type.variable}`} type="bracket">
{"{"}
</Code>
</>
cliffoo marked this conversation as resolved.
Show resolved Hide resolved
}
suffix={<Code type="bracket">{"}"}</Code>}
Expand Down