fix: send down user as null for overview table to handle

This commit is contained in:
Christel Westerberg
2024-06-19 13:09:52 +02:00
parent d28cbf10c7
commit 29e8a56f74

View File

@@ -20,9 +20,6 @@ async function DynamicComponentBlock({ component }: DynamicComponentProps) {
const session = await auth()
const user = session ? await serverClient().user.get() : null
if (!user) {
return null
}
switch (component) {
case LoyaltyComponentEnum.how_it_works: