import { observer } from 'mobx-react-lite' ; import * as React from 'react' ; import { BrowserSession } from '~/browserui/models/browser-session' ; import { NotFoundContainer } from '~/browserui/views/browser/BrowserView/components/ErrorPage/style' ; let currentSession = null ; export const ErrorPage = observer ( ( { visible } ) => { var pageStyle = { display : visible ? "block" : "none" } ; return ( < NotFoundContainer style = { pageStyle } > IPFS hash is not valid < /NotFoundContainer>); } ) ;