Skip to content

Commit

Permalink
simplify language param
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Ohlsen <[email protected]>
  • Loading branch information
ohltyler committed Jun 21, 2024
1 parent efab041 commit 98fafad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function ExportOptions(props: SearchInputsProps) {
{props.workflow !== undefined && (
<EuiFlexItem grow={false}>
<EuiCodeBlock
language={selectedOption === EXPORT_OPTION.JSON ? 'json' : 'yaml'}
language={selectedOption}
fontSize="m"
isCopyable={true}
>
Expand Down

0 comments on commit 98fafad

Please sign in to comment.