Skip to content

Commit

Permalink
fix(app): capitalize "attach gripper" button in protocol setup (#14617)
Browse files Browse the repository at this point in the history
RQA-2496
This "attach gripper" button text wasn't capitalized.

Now it is.
  • Loading branch information
ecormany committed Mar 13, 2024
1 parent f99718c commit 7de6f77
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function SetupGripperCalibrationItem({
gripperData,
runId,
}: SetupGripperCalibrationItemProps): JSX.Element | null {
const { t } = useTranslation('protocol_setup')
const { t, i18n } = useTranslation('protocol_setup')
const [
openWizardFlowType,
setOpenWizardFlowType,
Expand All @@ -47,7 +47,7 @@ export function SetupGripperCalibrationItem({
setOpenWizardFlowType(GRIPPER_FLOW_TYPES.ATTACH)
}}
>
{t('attach_gripper')}
{i18n.format(t('attach_gripper'), 'capitalize')}
</TertiaryButton>
</Flex>
)
Expand Down

0 comments on commit 7de6f77

Please sign in to comment.