Skip to content

Commit 0e95f46

Browse files
committed
Custom titles
1 parent 889d297 commit 0e95f46

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • packages/checkout/widgets-sample-app/src/components/ui/checkout

packages/checkout/widgets-sample-app/src/components/ui/checkout/checkout.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ function CheckoutUI() {
266266
unmount();
267267
mounted.current = true;
268268
console.log({params});
269-
widget?.mount("widget-root", params); // some params go here
269+
widget?.mount("widget-root", params);
270270
};
271271

272272
// should wait until browserProvider is set to render widget?
@@ -282,16 +282,16 @@ function CheckoutUI() {
282282
if (widgetsFactory === undefined) return undefined;
283283
if (renderAfterConnect && !browserProvider) return undefined;
284284

285-
return widgetsFactory.create(WidgetType.IMMUTABLE_COMMERCE, { // other params go here
285+
return widgetsFactory.create(WidgetType.IMMUTABLE_COMMERCE, {
286286
provider: browserProvider,
287287
config: {
288288
theme,
289289
language,
290290
SWAP: {
291291
},
292292
// TRANSFER: {
293-
// // showTitle: false,
294-
// // showSubTitle: false,
293+
// showTitle: false,
294+
// showSubTitle: false,
295295
// },
296296
ONRAMP: {
297297
// showTitle: false,

0 commit comments

Comments
 (0)