Skip to content

Commit

Permalink
fix: make sure to get default property in projects fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
moekify committed Aug 18, 2024
1 parent a8614e6 commit 100bb41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/projects/+layout.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const load = async () => {
}
})
)
: ((await import('../../../fixtures/projects')) as unknown as typeof projectData);
: ((await import('../../../fixtures/projects')).default as unknown as typeof projectData);

if (!projects) {
throw new Error('No data returned from Directus');
Expand Down

0 comments on commit 100bb41

Please sign in to comment.