diff --git a/frontend/src/components/header/omnibar.tsx b/frontend/src/components/header/omnibar.tsx index 7376a86c3..1ebb4391a 100644 --- a/frontend/src/components/header/omnibar.tsx +++ b/frontend/src/components/header/omnibar.tsx @@ -99,9 +99,7 @@ export const Omnibar = () => { })} - {builders?.map(({ _id }) => { - const id = _id?.$oid; - if (!id) return null; + {builders?.map(({ id }) => { return ( { })} - {alerters?.map(({ _id }) => { - const id = _id?.$oid; - if (!id) return null; + {alerters?.map(({ id }) => { return (