@opexa/portal-components 0.0.307 → 0.0.308

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.
@@ -40,9 +40,7 @@ export function JackpotsCarouselItem({ style, className, viewAllUrl, animate = t
40
40
  const latestJackpotPayout = jackpotPayouts[0] ?? [];
41
41
  const localeInfo = useLocaleInfo();
42
42
  const isPayingOut = jackpot.drawing;
43
- const jackpotAmount = isPayingOut
44
- ? jackpot.pool
45
- : jackpot.maximumJackpotPoolLimit;
43
+ const jackpotAmount = jackpot.pool;
46
44
  const Arrow = useCallback(({ index }) => {
47
45
  const Icon = isPayingOut ? ChevronLeftIcon : ChevronRightIcon;
48
46
  return (_jsx(Icon, { className: twMerge('scale-400 lg:scale-250 text-brand-300 min-w-2.5 lg:min-w-4', isPayingOut
@@ -33,9 +33,7 @@ export function useJackpotsListItemData() {
33
33
  const filteredGameProviders = gameProviders.filter((provider) => enabledJackpotGameProviders.includes(provider.id));
34
34
  const localeInfo = useLocaleInfo();
35
35
  const isPayingOut = jackpot.drawing;
36
- const jackpotAmount = isPayingOut
37
- ? jackpot.pool
38
- : jackpot.maximumJackpotPoolLimit;
36
+ const jackpotAmount = jackpot.pool;
39
37
  const Arrow = useCallback(({ index }) => {
40
38
  const Icon = isPayingOut ? ChevronLeftIcon : ChevronRightIcon;
41
39
  return (_jsx(Icon, { className: twMerge('scale-400 lg:scale-250 text-brand-300 min-w-2.5 lg:min-w-4', isPayingOut
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.307",
3
+ "version": "0.0.308",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",