Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
albertfolch-redeemeum committed Jan 14, 2025
1 parent 811cf92 commit 3af7799
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,10 @@ const Wrapper = styled(Grid)`

const iconSize = 24;
export type CommitRedeemStepsProps = {
offerId: string;
status: "pending-transaction" | "pending-signature" | "success";
children: ReactNode;
children?: ReactNode;
};
export const CommitRedeemSteps = ({
offerId,
status,
children
}: CommitRedeemStepsProps) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,15 +393,13 @@ export default function InnerCommitDetailView(
<CommitWrapper justifyContent="space-between">
<Grid flexDirection="column" alignItems="center">
{exchangeId ? (
<CommitRedeemSteps
offerId={offer.id}
status={"pending-signature"}
>
<>
<CommitRedeemSteps status={"pending-signature"} />
<RedeemWhatsNext
exchangeId={exchangeId}
requestShipmentProps={requestShipmentProps}
/>
</CommitRedeemSteps>
</>
) : (
<CommitButtonWrapper
disabled={!!isCommitDisabled}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const RedeemWhatsNext = ({
requestShipmentProps
}: RedeemWhatsNextProps) => {
const { showModal } = useModal();
const { config, dateFormat } = useConfigContext();
const { config } = useConfigContext();
const { data: exchanges } = useExchanges(
{
id: exchangeId
Expand Down

0 comments on commit 3af7799

Please sign in to comment.