Remove unused gotosqueakpage function from squeak address page (#362)

This commit is contained in:
Jonathan Zernik 2020-11-03 22:07:00 -05:00 committed by GitHub
parent 304ef943d9
commit 014d55aaeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,11 +41,6 @@ export default function SqueakAddressPage() {
history.push("/app/profile/" + profileId);
};
const goToSqueakPage = (hash) => {
history.push("/app/squeak/" + hash);
};
const handleClickOpenCreateContactProfileDialog = () => {
setCreateContactProfileDialogOpen(true);
};
@ -103,7 +98,6 @@ export default function SqueakAddressPage() {
<SqueakThreadItem
hash={squeak.getSqueakHash()}
key={squeak.getSqueakHash()}
handleSqueakClick={() => goToSqueakPage(squeak.getSqueakHash())}
squeak={squeak}>
</SqueakThreadItem>
</Box>