Skip to content

Commit

Permalink
fix: show vc only when status is done
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Sep 12, 2024
1 parent ce24560 commit 10b21f7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ export const StatusBottomSheetContent: React.FC<
hasEnumFlag(status, RouteExecutionStatus.Done) &&
(contractCompactComponent || contractSecondaryComponent);

const VcComponent = feeConfig?._vcComponent;
const VcComponent =
status === RouteExecutionStatus.Done ? feeConfig?._vcComponent : undefined;

return (
<Box p={3} ref={ref}>
Expand Down

0 comments on commit 10b21f7

Please sign in to comment.