Commit b472d5d3 authored by GuanHua's avatar GuanHua

update

parent 24876d7d
......@@ -19,7 +19,7 @@ const UserHeader: React.FC<UserHeaderProps> = (props) => {
useEffect(() => {
getRouteName()
}, [])
}, [props.location])
const getRouteName = () => {
switch (pathname) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment