diff --git a/src/pages/about.js b/src/pages/about.js index 357e095..36116c6 100644 --- a/src/pages/about.js +++ b/src/pages/about.js @@ -1,5 +1,5 @@ import React, { useEffect } from 'react' -import { Link, useLocation } from 'react-router-dom' +import { Link } from 'react-router-dom' import { connect } from '../state' const About = props => { @@ -8,7 +8,7 @@ const About = props => { props.global.clearStatus() } - const { hash } = useLocation(); + const { hash } = props.location; useEffect(() => { const id = hash.substr(1)