if (!project) return (<>project not found:{projectId}</>); console.log('Retrieved project', project?.id); const headerId = project?.fields.header as string; if (headerId){ const header = await base('b6_components').find(headerId) if (headerId) { const header = await getComponent(...