Skip to content
Snippets Groups Projects
Commit a1b24f1f authored by Romain CREY's avatar Romain CREY
Browse files

fix: modal visibility

parent 27d31778
Branches
Tags
1 merge request!15Merge Dev to Master
...@@ -10,7 +10,6 @@ import { AppContext } from 'components/Contexts/AppContextProvider' ...@@ -10,7 +10,6 @@ import { AppContext } from 'components/Contexts/AppContextProvider'
import MultliFluidIndicatorsContainer from 'components/ContainerComponents/IndicatorsContainer/MultiFluidIndicatorsContainer' import MultliFluidIndicatorsContainer from 'components/ContainerComponents/IndicatorsContainer/MultiFluidIndicatorsContainer'
import ChallengeCardContainer from 'components/ContainerComponents/ChallengeCardContainer/ChallengeCardContainer' import ChallengeCardContainer from 'components/ContainerComponents/ChallengeCardContainer/ChallengeCardContainer'
import KonnectorViewerContainer from 'components/ContainerComponents/KonnectorViewerContainer/KonnectorViewerContainer' import KonnectorViewerContainer from 'components/ContainerComponents/KonnectorViewerContainer/KonnectorViewerContainer'
import WelcomeModalContainer from '../WelcomeModalContainer/WelcomeModalContainer'
const HomeViewContainer: React.FC = () => { const HomeViewContainer: React.FC = () => {
const [timeStep, setTimeStep] = useState<TimeStep>(20) const [timeStep, setTimeStep] = useState<TimeStep>(20)
...@@ -44,7 +43,6 @@ const HomeViewContainer: React.FC = () => { ...@@ -44,7 +43,6 @@ const HomeViewContainer: React.FC = () => {
return ( return (
<React.Fragment> <React.Fragment>
<WelcomeModalContainer />
<CozyBar /> <CozyBar />
{fluidTypes && fluidTypes.length > 0 ? ( {fluidTypes && fluidTypes.length > 0 ? (
<> <>
......
...@@ -18,6 +18,7 @@ import OngoingChallengeDetailsViewContainer from './OngoingChallengeDetailsViewC ...@@ -18,6 +18,7 @@ import OngoingChallengeDetailsViewContainer from './OngoingChallengeDetailsViewC
import LockedChallengeDetailsViewContainer from './LockedChallengeDetailsViewContainer' import LockedChallengeDetailsViewContainer from './LockedChallengeDetailsViewContainer'
import AvailableChallengeDetailsViewContainer from './AvailableChallengeDetailsViewContainer' import AvailableChallengeDetailsViewContainer from './AvailableChallengeDetailsViewContainer'
import SplashContainer from 'components/ContainerComponents/SplashContainer/SplashContainer' import SplashContainer from 'components/ContainerComponents/SplashContainer/SplashContainer'
import WelcomeModalContainer from '../WelcomeModalContainer/WelcomeModalContainer'
export const history = createBrowserHistory() export const history = createBrowserHistory()
...@@ -28,6 +29,7 @@ export const ViewContainer = () => { ...@@ -28,6 +29,7 @@ export const ViewContainer = () => {
<AppContextProvider> <AppContextProvider>
<Navbar /> <Navbar />
<Main> <Main>
<WelcomeModalContainer />
<Content className="app-content"> <Content className="app-content">
<ScrollToTop> <ScrollToTop>
<Switch> <Switch>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment