diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsEmptyStateCard.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsEmptyStateCard.tsx index 25c99fef7419..23fe1e1305c3 100644 --- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsEmptyStateCard.tsx +++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsEmptyStateCard.tsx @@ -20,7 +20,13 @@ const StyledBody = styled(CardContent)` justify-content: center; `; -export const SettingsAccountsEmptyStateCard = () => { +type SettingsAccountsEmptyStateCardProps = { + label?: string; +}; + +export const SettingsAccountsEmptyStateCard = ({ + label, +}: SettingsAccountsEmptyStateCardProps) => { const [generateTransientToken] = useGenerateTransientTokenMutation(); const handleGmailLogin = useCallback(async () => { @@ -36,7 +42,7 @@ export const SettingsAccountsEmptyStateCard = () => { return ( - No connected account + {label || 'No connected account'}