Skip to content

Commit

Permalink
Remove comma between chords
Browse files Browse the repository at this point in the history
  • Loading branch information
iansan5653 authored Aug 6, 2024
1 parent 0562fa2 commit 03b6491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/KeybindingHint/components/Sequence.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const Sequence = ({keys, format = 'condensed', variant = 'normal'}: Keybi
// Since we audibly separate individual keys in chord with space, we need some other separator for chords in a sequence
i > 0 && (
<>
<VisuallyHidden>, then</VisuallyHidden>{' '}
<VisuallyHidden>then</VisuallyHidden>{' '}
</>
)
}
Expand All @@ -24,4 +24,4 @@ export const Sequence = ({keys, format = 'condensed', variant = 'normal'}: Keybi
export const accessibleSequenceString = (sequence: string, isMacOS: boolean) =>
splitSequence(sequence)
.map(chord => accessibleChordString(chord, isMacOS))
.join(', then ')
.join(' then ')

0 comments on commit 03b6491

Please sign in to comment.