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 @@ -47,7 +47,7 @@ export function MoveLabwareInterventionContent({
47
47
robotType,
48
48
isOnDevice,
49
49
} : MoveLabwareInterventionProps ) : JSX . Element | null {
50
- const { t } = useTranslation ( 'protocol_command_text' )
50
+ const { t, i18n } = useTranslation ( 'protocol_command_text' )
51
51
52
52
const analysisCommands = analysis ?. commands ?? [ ]
53
53
const labwareDefsByUri = getLoadedLabwareDefinitionsByUri ( analysisCommands )
@@ -128,10 +128,10 @@ export function MoveLabwareInterventionContent({
128
128
type = "location-arrow-location"
129
129
labwareName = { labwareName }
130
130
currentLocationProps = { {
131
- deckLabel : oldDisplayLabwareLocation ,
131
+ deckLabel : i18n . format ( oldDisplayLabwareLocation , 'capitalize' ) ,
132
132
} }
133
133
newLocationProps = { {
134
- deckLabel : newDisplayLabwareLocation ,
134
+ deckLabel : i18n . format ( newDisplayLabwareLocation , 'capitalize' ) ,
135
135
} }
136
136
/>
137
137
</ Flex >
You can’t perform that action at this time.
0 commit comments