Translation followup (#9735)
Address PR comments and more progress on translation
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import { useLingui } from '@lingui/react/macro';
|
||||
import { LightButton } from 'twenty-ui';
|
||||
|
||||
type CancelButtonProps = {
|
||||
@ -9,9 +10,10 @@ export const CancelButton = ({
|
||||
onCancel,
|
||||
disabled = false,
|
||||
}: CancelButtonProps) => {
|
||||
const { t } = useLingui();
|
||||
return (
|
||||
<LightButton
|
||||
title="Cancel"
|
||||
title={t`Cancel`}
|
||||
accent="tertiary"
|
||||
onClick={onCancel}
|
||||
disabled={disabled}
|
||||
|
||||
Reference in New Issue
Block a user