Commit 439fb1fa authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

Merge branch 'fix/set-cgu-before-tutorial' into 'dev'

Add tutorial welcome conditionned by cgu

See merge request web-et-numerique/llle_project/ecolyo!398
parents 9ee5550f 1feffe52
......@@ -28,8 +28,12 @@ export const App = () => {
splashComponent={SplashScreen}
splashErrorComponent={SplashScreenError}
>
<TutorialWelcome open={!tutorial.isWelcomeSeen} />
{isLastTermAccepted && <Navbar />}
{isLastTermAccepted && (
<>
<TutorialWelcome open={!tutorial.isWelcomeSeen} />
<Navbar />
</>
)}
<Main>
<Content className="app-content">
<Routes isLastTermAccepted={isLastTermAccepted} />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment