Update +page.server.ts

This commit is contained in:
Timothy J. Baek 2023-10-17 23:23:05 -07:00
parent 42087a4a29
commit 0f41abd7ce

View File

@ -19,6 +19,6 @@ export const load: PageServerLoad = async ({ url }) => {
});
return {
models: models ? models.models : []
models: models?.models ?? []
};
};