diff --git a/packages/frontend/src/layouts/ProjectSearch.tsx b/packages/frontend/src/layouts/ProjectSearch.tsx index 775f5ab5..c471ab5d 100644 --- a/packages/frontend/src/layouts/ProjectSearch.tsx +++ b/packages/frontend/src/layouts/ProjectSearch.tsx @@ -25,6 +25,12 @@ const ProjectSearch = () => { fetchUser(); }, []); + const fetchOrgSlug = useCallback(async () => { + const { organizations } = await client.getOrganizations(); + // TODO: Get the selected organization. This is temp + return organizations[0].slug; + }, []); + return (
@@ -38,7 +44,15 @@ const ProjectSearch = () => { }} />
-