diff --git a/frontend/src/TokenHistory.js b/frontend/src/TokenHistory.js
index 833019f..e4734d9 100644
--- a/frontend/src/TokenHistory.js
+++ b/frontend/src/TokenHistory.js
@@ -24,7 +24,7 @@ const TokenHistory = ({ metadata, xid }) => {
};
fetchHistory();
- }, [metadata]);
+ }, [metadata, xid]);
if (!metadata || !history) {
return;
diff --git a/frontend/src/TokenView.js b/frontend/src/TokenView.js
index 893d8ba..9d8b211 100644
--- a/frontend/src/TokenView.js
+++ b/frontend/src/TokenView.js
@@ -73,7 +73,7 @@ const TokenView = ({ metadata, setTab, setRefreshKey }) => {
setNfts(nfts);
setOwned(owned);
- setOwnAll(metadata.userIsOwner && owned == metadata.token.editions);
+ setOwnAll(metadata.userIsOwner && owned === metadata.token.editions);
setRanges(convertToRanges(ownedEditions));
} catch (error) {
@@ -139,7 +139,7 @@ const TokenView = ({ metadata, setTab, setRefreshKey }) => {
Creator:
-
+