diff --git a/src/frontend/apps/impress/src/features/footer/components/FooterActions.tsx b/src/frontend/apps/impress/src/features/footer/components/FooterActions.tsx
index ec2aff180..d2a8f5164 100644
--- a/src/frontend/apps/impress/src/features/footer/components/FooterActions.tsx
+++ b/src/frontend/apps/impress/src/features/footer/components/FooterActions.tsx
@@ -1,11 +1,10 @@
import { UserMenu } from '@gouvfr-lasuite/ui-components';
-import { ReactNode } from 'react';
import { useTranslation } from 'react-i18next';
import { createGlobalStyle } from 'styled-components';
import { Box } from '@/components';
import { Waffle } from '@/components/Waffle';
-import { gotoLogout, useAuth } from '@/features/auth';
+import { ButtonLogin, gotoLogout, useAuth } from '@/features/auth';
import { HelpMenu } from '@/features/help';
import { LanguagePicker } from '@/features/language/components/LanguagePicker';
@@ -16,10 +15,10 @@ const FooterActionsGlobalStyle = createGlobalStyle`
`;
type FooterActionsProps = {
- loginAction?: ReactNode;
+ withLogin?: boolean;
};
-export const FooterActions = ({ loginAction }: FooterActionsProps) => {
+export const FooterActions = ({ withLogin }: FooterActionsProps) => {
const { t } = useTranslation();
const { user } = useAuth();
@@ -47,7 +46,7 @@ export const FooterActions = ({ loginAction }: FooterActionsProps) => {
withMobileView={false}
/>
- {loginAction}
+ {withLogin && }
diff --git a/src/frontend/apps/impress/src/features/left-panel/components/LeftPanelFooter.tsx b/src/frontend/apps/impress/src/features/left-panel/components/LeftPanelFooter.tsx
index 5bac7288c..4125e0d64 100644
--- a/src/frontend/apps/impress/src/features/left-panel/components/LeftPanelFooter.tsx
+++ b/src/frontend/apps/impress/src/features/left-panel/components/LeftPanelFooter.tsx
@@ -1,11 +1,10 @@
import { SeparatedSection } from '@/components';
-import { ButtonLogin } from '@/features/auth';
import { FooterActions } from '@/features/footer';
export const LeftPanelFooter = () => {
return (
- } />
+
);
};