File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/src/organisms/InterventionModal Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export function MoveLabwareInterventionContent({
49
49
robotType,
50
50
isOnDevice,
51
51
} : MoveLabwareInterventionProps ) : JSX . Element | null {
52
- const { t } = useTranslation ( 'protocol_command_text' )
52
+ const { t, i18n } = useTranslation ( 'protocol_command_text' )
53
53
54
54
const analysisCommands = analysis ?. commands ?? [ ]
55
55
const labwareDefsByUri = getLoadedLabwareDefinitionsByUri ( analysisCommands )
@@ -117,10 +117,10 @@ export function MoveLabwareInterventionContent({
117
117
type = "location-arrow-location"
118
118
labwareName = { labwareName }
119
119
currentLocationProps = { {
120
- deckLabel : oldDisplayLabwareLocation ,
120
+ deckLabel : i18n . format ( oldDisplayLabwareLocation , 'capitalize' ) ,
121
121
} }
122
122
newLocationProps = { {
123
- deckLabel : newDisplayLabwareLocation ,
123
+ deckLabel : i18n . format ( newDisplayLabwareLocation , 'capitalize' ) ,
124
124
} }
125
125
/>
126
126
</ Flex >
You can’t perform that action at this time.
0 commit comments