diff --git a/components/Blocks/DynamicContent/Rewards/Surprises/index.tsx b/components/Blocks/DynamicContent/Rewards/Surprises/index.tsx index 5dbb8bc11..d0317236a 100644 --- a/components/Blocks/DynamicContent/Rewards/Surprises/index.tsx +++ b/components/Blocks/DynamicContent/Rewards/Surprises/index.tsx @@ -42,10 +42,9 @@ export default function Surprises({ } function viewRewards(id?: string) { - if (!id) { - return + if (id) { + update.mutate({ id }) } - update.mutate({ id }) } function closeModal(close: VoidFunction) {