diff --git a/apps/portal/src/components/questions/LandingComponent.tsx b/apps/portal/src/components/questions/LandingComponent.tsx index 9ca25ff5..6972f22a 100644 --- a/apps/portal/src/components/questions/LandingComponent.tsx +++ b/apps/portal/src/components/questions/LandingComponent.tsx @@ -20,15 +20,13 @@ export type LandingQueryData = { companySlug: string; location: string; questionType: QuestionsQuestionType; -}; +} | null; export type LandingComponentProps = { onLanded: (data: LandingQueryData) => void; }; -export default function LandingComponent({ - onLanded: handleLandingQuery, -}: LandingComponentProps) { +export default function LandingComponent({ onLanded }: LandingComponentProps) { const defaultCompany = useDefaultCompany(); const defaultLocation = useDefaultLocation(); @@ -84,7 +82,7 @@ export default function LandingComponent({ Know the{' '} latest SWE interview questions - {' '} + {' '} asked by top companies.

@@ -118,22 +116,34 @@ export default function LandingComponent({ }} /> -