import { loadPreviousSimulation } from 'Actions/actions' import React from 'react' import { Trans } from 'react-i18next' import { useDispatch, useSelector } from 'react-redux' import { RootState } from 'Reducers/rootReducer' import { LinkButton } from 'Ui/Button' import Banner from './Banner' import { firstStepCompletedSelector } from 'Selectors/simulationSelectors' export default function PreviousSimulationBanner() { const previousSimulation = useSelector( (state: RootState) => state.previousSimulation ) const newSimulationStarted = useSelector(firstStepCompletedSelector) const dispatch = useDispatch() return ( ) }