The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Small fixes on accounts settings (#6157)
bosiraphaelef849d316f1d
diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelsContainer.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelsContainer.tsxindex 49beddbac04..e31bfd53090 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelsContainer.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelsContainer.tsx@@ -11,6 +11,7 @@ import { SettingsAccountsListEmptyStateCard } from '@/settings/accounts/componenimport { SETTINGS_ACCOUNT_CALENDAR_CHANNELS_TAB_LIST_COMPONENT_ID } from '@/settings/accounts/constants/SettingsAccountCalendarChannelsTabListComponentId';import { TabList } from '@/ui/layout/tab/components/TabList';import { useTabList } from '@/ui/layout/tab/hooks/useTabList';+import React from 'react';export const SettingsAccountsCalendarChannelsContainer = () => {const { activeTabIdState } = useTabList(@@ -59,13 +60,13 @@ export const SettingsAccountsCalendarChannelsContainer = () => {tabs={tabs}/>{calendarChannels.map((calendarChannel) => (- <>+ <React.Fragment key={calendarChannel.id}>{calendarChannel.id === activeTabId && (<SettingsAccountsCalendarChannelDetailscalendarChannel={calendarChannel}/>)}- </>+ </React.Fragment>))}{false && activeTabId === 'general' && (<SettingsAccountsCalendarChannelsGeneral />diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelsContainer.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelsContainer.tsxindex 95f462e0671..35768ddccbb 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelsContainer.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelsContainer.tsx@@ -10,6 +10,7 @@ import { SettingsAccountsMessageChannelDetails } from '@/settings/accounts/compoimport { SETTINGS_ACCOUNT_MESSAGE_CHANNELS_TAB_LIST_COMPONENT_ID } from '@/settings/accounts/constants/SettingsAccountMessageChannelsTabListComponentId';import { TabList } from '@/ui/layout/tab/components/TabList';import { useTabList } from '@/ui/layout/tab/hooks/useTabList';+import React from 'react';export const SettingsAccountsMessageChannelsContainer = () => {const { activeTabIdState } = useTabList(@@ -58,13 +59,13 @@ export const SettingsAccountsMessageChannelsContainer = () => {tabs={tabs}/>{messageChannels.map((messageChannel) => (- <>+ <React.Fragment key={messageChannel.id}>{messageChannel.id === activeTabId && (<SettingsAccountsMessageChannelDetailsmessageChannel={messageChannel}/>)}- </>+ </React.Fragment>))}</>);diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRadioSettingsCard.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRadioSettingsCard.tsxindex 4592b42b4c2..350bf71def5 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRadioSettingsCard.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRadioSettingsCard.tsx@@ -1,5 +1,5 @@-import { ReactNode } from 'react';import styled from '@emotion/styled';+import { ReactNode } from 'react';import { Radio } from '@/ui/input/components/Radio';import { Card } from '@/ui/layout/card/components/Card';