Skip to content

Commit

Permalink
fix: naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Kodylow committed Sep 18, 2024
1 parent 22f2112 commit a122f4e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions apps/router/src/home/RemoveServiceModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,17 @@ export const RemoveServiceModal: React.FC<RemoveServiceModalProps> = ({
<ModalOverlay />
<ModalContent>
<ModalHeader>
{t(
'home.removeService',
`${service.type.charAt(0).toUpperCase() + service.type.slice(1)}`
)}
{t('home.remove-service-modal.title', {
type: service.type,
})}
</ModalHeader>
<ModalCloseButton />
<ModalBody>
<Text>{t('home.removeServiceConfirm', `${service?.type}?`)}</Text>
<Text>
{t('home.remove-service-modal.confirm', {
type: service.type,
})}
</Text>
</ModalBody>
<ModalFooter>
<Button colorScheme='red' mr={3} onClick={handleRemove}>
Expand Down

0 comments on commit a122f4e

Please sign in to comment.