import React , { memo , FunctionComponent } from "react" ; import logo from "../images/logo.png" ; interface Props { error : { error : any ; info : any ; } ; } const Error = ( ) => { return ( < div className = "scene errorScene" > < div className = "header" > < img id = "logo" src = { logo } alt = "" / > < h2 > Error < /h2> < /div> < p > Oops , unfortunately an error occured . < /p> < p > { } < a href = "#" onClick = { ( ) => window . location . reload ( ) } > Try reloading < /a> < /p> < /div>); } ; export default memo ( Error ) ;