We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc9a4d7 commit 8cdb54aCopy full SHA for 8cdb54a
src/components/about/SmallPortraitCard.tsx
@@ -4,12 +4,10 @@ import Avatar from "./Avatar";
4
5
export function SmallPortraitCard({ person }) {
6
const history = useHistory();
7
+ history.push("/about/");
8
9
function openDialog () {
- history.push("/about/");
10
- console.log('history:', history.location)
11
history.push("/about/" + person.firstName);
12
13
};
14
15
return (
0 commit comments