From d5c8c1496729e494f75ad7a5499a62d1ab8ed70e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Poizat?= Date: Tue, 17 Dec 2024 13:54:03 +0100 Subject: [PATCH] fix: Do not import DataProxyProvider in public route --- src/components/App/App.jsx | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/components/App/App.jsx b/src/components/App/App.jsx index 051baff803..e48ff66ea7 100644 --- a/src/components/App/App.jsx +++ b/src/components/App/App.jsx @@ -26,15 +26,19 @@ const App = ({ isPublic, store, client, lang, polyglot, children }) => { - - - - - {children} - - - - + + + + + {isPublic ? ( + children + ) : ( + {children} + )} + + + +