Skip to content

Commit

Permalink
add callback
Browse files Browse the repository at this point in the history
  • Loading branch information
albertfolch-redeemeum committed Jan 19, 2024
1 parent ca3f2fb commit 9255f7f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/detail/DetailWidget/CommitDetailWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,9 @@ export const CommitDetailWidget: React.FC<CommitDetailWidgetProps> = ({
onClickBuyOrSwap={({ swapParams }) => {
navigate({ pathname: BosonRoutes.Swap, search: swapParams });
}}
onAlreadyOwnOfferClick={() => {
navigate({ pathname: BosonRoutes.YourAccount });
}}
>
<CTAsGrid flexDirection="column" alignItems="center" margin="1.5rem 0">
<CommitWrapper>
Expand Down

0 comments on commit 9255f7f

Please sign in to comment.