@opexa/portal-components 0.0.316 → 0.0.317

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.
@@ -20,7 +20,7 @@ import { parseDecimal } from "../../utils/parseDecimal.js";
20
20
  export function Bonus__client(props) {
21
21
  const bonusQuery = useBonusQuery(props.id);
22
22
  const bonus = bonusQuery.data;
23
- const gameProviders = props.gameProviders;
23
+ const gameProviders = props.gameProviders ?? [];
24
24
  const enabledGameProviders = bonus?.enabledGameProviders ?? [];
25
25
  const localeInfo = useLocaleInfo();
26
26
  const remainingTime = useRemainingTime(bonus?.expiration ?? new Date());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.316",
3
+ "version": "0.0.317",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",