#Hey guys I m struggling HARD with the

1 messages · Page 1 of 1 (latest)

storm acorn
#

Some codes for the context 🙂

import CandidateList, { CandidateListSkeleton } from "./CandidateList";

export default function ({ searchParams }: {
    searchParams: { cat?: string | string[], com?: string | string[] },
}) {
    const categoryKeys = ...;
    const companyKeys = ...;
    return (
        <div>
            <Suspense fallback={<CandidateListSkeleton />}>
                {/* @ts-ignore */}
                <CandidateList categoryKeys={categoryKeys} companyKeys={companyKeys} />
            </Suspense>
        </div>

    )
}```