Making the code easier to read and more consistent.

This commit is contained in:
Scott Idem
2026-03-24 12:05:22 -04:00
parent 94849137f0
commit 9a75243d9c
29 changed files with 4096 additions and 2281 deletions

View File

@@ -3,14 +3,14 @@ import { error } from '@sveltejs/kit';
export const load: PageLoad = async ({ parent }) => {
const data = await parent();
if (!data.account_id) {
console.error('Core Dashboard: No account_id found in parent data');
// We could throw an error here, but for now let's just log it and return
// to avoid a hard crash if the user is just navigating.
}
return {
account_id: data.account_id
};
};
};