removed unused history

This commit is contained in:
Dalton 2020-01-25 16:06:35 -06:00 committed by Sean Yesmunt
parent a86ff9b42a
commit 1769140c98

View file

@ -23,31 +23,10 @@ type Props = {
}>,
title: string,
claimIsMine: Boolean,
history: {
entries: { title: string }[],
goBack: () => void,
goForward: () => void,
index: number,
length: number,
location: { pathname: string },
push: string => void,
state: {},
replaceState: ({}, string, string) => void,
},
};
function ShowPage(props: Props) {
const {
isResolvingUri,
resolveUri,
uri,
claim,
blackListedOutpoints,
location,
claimIsMine,
isSubscribed,
history,
} = props;
const { isResolvingUri, resolveUri, uri, claim, blackListedOutpoints, location, claimIsMine, isSubscribed } = props;
const signingChannel = claim && claim.signing_channel;
const canonicalUrl = claim && claim.canonical_url;
const claimExists = claim !== null && claim !== undefined;