Skip to content

Commit 01a2487

Browse files
committed
fix: resolve TS error in useCampaignParticipantOutcome test
1 parent 2e60314 commit 01a2487

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/UI/Rewards/hooks/useCampaignParticipantOutcome.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ describe('useCampaignParticipantOutcome', () => {
148148
const { result, rerender } = renderHook(
149149
({ id }: { id: string | undefined }) =>
150150
useCampaignParticipantOutcome(id, CONFIG),
151-
{ initialProps: { id: CAMPAIGN_ID } },
151+
{ initialProps: { id: CAMPAIGN_ID } as { id: string | undefined } },
152152
);
153153

154154
await waitFor(() => {

0 commit comments

Comments
 (0)