From 271f63c162aa96fbc2c8ec859c7e33f00d63c94d Mon Sep 17 00:00:00 2001 From: Melissa Liu Date: Mon, 2 Dec 2024 21:46:10 -0800 Subject: [PATCH] lint --- app/onboarding/review/page.tsx | 2 +- utils/onboardingContext.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/onboarding/review/page.tsx b/app/onboarding/review/page.tsx index 866375e..0e5ed87 100644 --- a/app/onboarding/review/page.tsx +++ b/app/onboarding/review/page.tsx @@ -38,7 +38,7 @@ export default function Review() { const submitData = async () => { if (!generalInfo || !preferences) return; - await submitOnboardingData(generalInfo, preferences); + await submitOnboardingData(generalInfo, preferences, role); }; return ( diff --git a/utils/onboardingContext.tsx b/utils/onboardingContext.tsx index a5d6083..0670e9b 100644 --- a/utils/onboardingContext.tsx +++ b/utils/onboardingContext.tsx @@ -19,7 +19,7 @@ export interface Preferences { grouping: string[]; } -interface Role { +export interface Role { isHost: boolean; isPerformer: boolean; }