@fluid-app/portal-sdk 0.1.1073 → 0.1.1074

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6224,10 +6224,8 @@ function cancelReasonChoice(draft) {
6224
6224
  } : { reasonCode: draft.code };
6225
6225
  }
6226
6226
  function CancelReasonPicker({ reasons, value, onChange, disabled }) {
6227
- const { t, locale } = useSubscriptionsTranslation();
6227
+ const { t } = useSubscriptionsTranslation();
6228
6228
  const labelFor = (reason) => {
6229
- const merchantLabel = reason.labels[locale] ?? reason.labels[locale.split(/[-_]/)[0] ?? ""];
6230
- if (merchantLabel) return merchantLabel;
6231
6229
  const key = DICTIONARY_LABELS[reason.code];
6232
6230
  return key ? t(key) : reason.code;
6233
6231
  };
@@ -10070,4 +10068,4 @@ const subscriptionsScreenPropertySchema = {
10070
10068
  //#endregion
10071
10069
  export { subscriptionsScreenPropertySchema as n, SubscriptionsScreen as t };
10072
10070
 
10073
- //# sourceMappingURL=SubscriptionsScreen-Dt5dpECl.mjs.map
10071
+ //# sourceMappingURL=SubscriptionsScreen-BbdDoJ_k.mjs.map