@mohasinac/appkit 4.32.5 → 4.32.6
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.
|
@@ -11,6 +11,7 @@ import { sortBy } from "../../../constants/sort";
|
|
|
11
11
|
import { Container, Grid, Heading, Section, Stack, Text } from "../../../ui";
|
|
12
12
|
import { eventRepository } from "../repository/events.repository";
|
|
13
13
|
import { EventCard } from "./EventCard";
|
|
14
|
+
import { hidePublicTestData } from "../../../_internal/server/features/tester/visibility";
|
|
14
15
|
/**
|
|
15
16
|
* Renders a live-raffle/spin-wheel strip on the homepage.
|
|
16
17
|
* W1-38 (2026-05-23): fetches events with hasRaffle=true and renders the EventCard grid.
|
|
@@ -26,7 +27,7 @@ export async function EventRafflesSection({ config, }) {
|
|
|
26
27
|
sorts: sortBy("startsAt", "DESC"),
|
|
27
28
|
pageSize: limit,
|
|
28
29
|
});
|
|
29
|
-
events = (result.items ?? []);
|
|
30
|
+
events = hidePublicTestData(result.items ?? []);
|
|
30
31
|
}
|
|
31
32
|
catch (_err) {
|
|
32
33
|
void normalizeError(_err);
|