Skip to content

Commit

Permalink
fix: commit widget is not loading (#679)
Browse files Browse the repository at this point in the history
  • Loading branch information
levalleux-ludo authored Mar 13, 2024
1 parent 1438d78 commit 1c0d168
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export type CommitNonModalProps = Pick<
OfferVariantViewProps,
"onClickBuyOrSwap" | "onAlreadyOwnOfferClick"
> & {
variants: VariantV1[] | undefined;
variants?: VariantV1[];
showBosonLogo?: boolean;
defaultSelectedOfferId?: string;
disableVariationsSelects?: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ type CommitProps = {
sellerId: string;
bundleUuid: string;
}
) &
(
| { lookAndFeel: "regular" }
| { lookAndFeel: "modal"; modalMargin?: CSSProperties["margin"] }
);
) & {
lookAndFeel: "regular" | "modal";
modalMargin?: CSSProperties["margin"];
};
export type CommitWidgetProps = CommitProps & CommitWidgetProvidersProps;
export function CommitWidget(props: CommitWidgetProps) {
const Container = useCallback(
Expand Down

0 comments on commit 1c0d168

Please sign in to comment.