diff --git a/src/pages/AddOnDetails.tsx b/src/pages/AddOnDetails.tsx index 66029ca88..43708b693 100644 --- a/src/pages/AddOnDetails.tsx +++ b/src/pages/AddOnDetails.tsx @@ -64,8 +64,8 @@ const AddOnDetails = () => { return ( <> - - + + )} - + { diff --git a/src/pages/InvoicesPage.tsx b/src/pages/InvoicesPage.tsx index bd32de1e2..34973e2bf 100644 --- a/src/pages/InvoicesPage.tsx +++ b/src/pages/InvoicesPage.tsx @@ -1,7 +1,6 @@ import { gql } from '@apollo/client' import { useMemo, useRef } from 'react' import { generatePath, useParams, useSearchParams } from 'react-router-dom' -import styled from 'styled-components' import CreditNotesTable from '~/components/creditNote/CreditNotesTable' import { Button, NavigationTab, Typography } from '~/components/designSystem' @@ -43,7 +42,7 @@ import { useInternationalization } from '~/hooks/core/useInternationalization' import { useDebouncedSearch } from '~/hooks/useDebouncedSearch' import { useOrganizationInfos } from '~/hooks/useOrganizationInfos' import { usePermissions } from '~/hooks/usePermissions' -import { PageHeader, theme } from '~/styles' +import { PageHeader } from '~/styles' gql` query getInvoicesList( @@ -319,12 +318,12 @@ const InvoicesPage = () => { return ( <> - + {translate('text_63ac86d797f728a87b2f9f85')} - + {tab === InvoiceListTabEnum.invoices ? ( <> { {translate('text_63ac86d797f728a87b2f9fc4')} )} - - + + { } export default InvoicesPage - -const HeaderRigthBlock = styled.div` - display: flex; - align-items: center; - gap: ${theme.spacing(3)}; -` diff --git a/src/pages/PlanDetails.tsx b/src/pages/PlanDetails.tsx index d0bd455f4..72537b10c 100644 --- a/src/pages/PlanDetails.tsx +++ b/src/pages/PlanDetails.tsx @@ -77,8 +77,8 @@ const PlanDetails = () => { return ( <> - - + + )} - + + {loading ? ( <> @@ -263,15 +264,6 @@ const AdyenIntegrations = () => { ) } -const HeaderBlock = styled.div` - display: flex; - align-items: center; - - > *:first-child { - margin-right: ${theme.spacing(3)}; - } -` - const MainInfos = styled.div` display: flex; align-items: center; diff --git a/src/pages/settings/AnrokIntegrationDetails.tsx b/src/pages/settings/AnrokIntegrationDetails.tsx index 28d4aa533..07311a565 100644 --- a/src/pages/settings/AnrokIntegrationDetails.tsx +++ b/src/pages/settings/AnrokIntegrationDetails.tsx @@ -112,8 +112,8 @@ const AnrokIntegrationDetails = () => { return ( <> - - + + { {anrokIntegration?.name} )} - + { )} - + {loading ? ( <> @@ -224,15 +224,6 @@ const AnrokIntegrationDetails = () => { ) } -const HeaderBlock = styled.div` - display: flex; - align-items: center; - - > *:first-child { - margin-right: ${theme.spacing(3)}; - } -` - const MainInfos = styled.div` display: flex; align-items: center; diff --git a/src/pages/settings/AnrokIntegrations.tsx b/src/pages/settings/AnrokIntegrations.tsx index 9df7e3eaa..7242bc56e 100644 --- a/src/pages/settings/AnrokIntegrations.tsx +++ b/src/pages/settings/AnrokIntegrations.tsx @@ -84,8 +84,8 @@ const AnrokIntegrations = () => { return ( <> - - + + { {translate('text_6668821d94e4da4dfd8b3834')} )} - + - + {loading ? ( <> @@ -243,15 +243,6 @@ const AnrokIntegrations = () => { ) } -const HeaderBlock = styled.div` - display: flex; - align-items: center; - - > *:first-child { - margin-right: ${theme.spacing(3)}; - } -` - const MainInfos = styled.div` display: flex; align-items: center; diff --git a/src/pages/settings/Authentication/OktaAuthenticationDetails.tsx b/src/pages/settings/Authentication/OktaAuthenticationDetails.tsx index 04793f320..871f95549 100644 --- a/src/pages/settings/Authentication/OktaAuthenticationDetails.tsx +++ b/src/pages/settings/Authentication/OktaAuthenticationDetails.tsx @@ -86,8 +86,8 @@ const OktaAuthenticationDetails = () => { return ( <> - - + + { {translate('text_664c732c264d7eed1c74fda2')} )} - + { )} - + {loading ? ( <> @@ -225,15 +225,6 @@ const OktaAuthenticationDetails = () => { ) } -const HeaderBlock = styled.div` - display: flex; - align-items: center; - - > *:first-child { - margin-right: ${theme.spacing(3)}; - } -` - const MainInfos = styled.div` display: flex; align-items: center; diff --git a/src/pages/settings/EmailScenarioConfig.tsx b/src/pages/settings/EmailScenarioConfig.tsx index cbb4c8cfd..640253370 100644 --- a/src/pages/settings/EmailScenarioConfig.tsx +++ b/src/pages/settings/EmailScenarioConfig.tsx @@ -74,8 +74,8 @@ const EmailScenarioConfig = () => { return ( - - + +