From 6a93ec8b7cebcf29799645da3ea04af552fd4651 Mon Sep 17 00:00:00 2001 From: Jip Stavenuiter Date: Fri, 1 Dec 2023 17:18:26 +0100 Subject: [PATCH] Bugfix/only show transfer button for fraction owned (#1207) * only show transfer button for fractions owned * only show transfer button for fractions owned --- frontend/components/transfer-fraction-button.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/components/transfer-fraction-button.tsx b/frontend/components/transfer-fraction-button.tsx index 4235837b..12d0dfdf 100644 --- a/frontend/components/transfer-fraction-button.tsx +++ b/frontend/components/transfer-fraction-button.tsx @@ -89,6 +89,10 @@ export function TransferFractionButton({ return false; } + if (!(fractionData?.claimToken?.owner === address)) { + return false; + } + if (!(transferRestrictions in TransferRestrictions)) { return false; }