Skip to content

Commit

Permalink
Bugfix/only show transfer button for fraction owned (#1207)
Browse files Browse the repository at this point in the history
* only show transfer button for fractions owned

* only show transfer button for fractions owned
  • Loading branch information
Jipperism authored Dec 1, 2023
1 parent 2406b96 commit 6a93ec8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/components/transfer-fraction-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ export function TransferFractionButton({
return false;
}

if (!(fractionData?.claimToken?.owner === address)) {
return false;
}

if (!(transferRestrictions in TransferRestrictions)) {
return false;
}
Expand Down

0 comments on commit 6a93ec8

Please sign in to comment.