migrate to next 15 and react 19

This commit is contained in:
Milo Schwartz 2024-10-23 13:30:23 -04:00
parent 2322640dc0
commit ce19cc4ba4
No known key found for this signature in database
20 changed files with 196 additions and 187 deletions

View file

@ -29,7 +29,7 @@ export default async function RootLayout({
try {
const res = await internal.get<AxiosResponse<ListOrgsResponse>>(
`/orgs`,
authCookieHeader(),
await authCookieHeader(),
);
if (res && res.data.data.orgs) {
orgs = res.data.data.orgs;