diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/CurrencyFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/CurrencyFieldInput.tsx index 6a2252009d..c10275d04b 100644 --- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/CurrencyFieldInput.tsx +++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/CurrencyFieldInput.tsx @@ -28,7 +28,7 @@ export const CurrencyFieldInput = () => { const defaultCurrencyCodeWithoutSQLQuotes = ( defaultValue as FieldCurrencyValue - ).currencyCode.replace(/'/g, '') as CurrencyCode; + )?.currencyCode?.replace(/'/g, '') as CurrencyCode; const defaultCurrencyCodeIsNotEmpty = isNonEmptyString( defaultCurrencyCodeWithoutSQLQuotes,