Making things work smoothly
This commit is contained in:
@@ -158,6 +158,7 @@ export async function load({ fetch, params, parent, route, url }) { // params, r
|
||||
|
||||
return site_domain_results.account_id_random;
|
||||
}
|
||||
console.log(`root layout.ts: Site domain results not found!!!`)
|
||||
|
||||
return null;
|
||||
});
|
||||
@@ -168,6 +169,11 @@ export async function load({ fetch, params, parent, route, url }) { // params, r
|
||||
// return true;
|
||||
// });
|
||||
|
||||
if (!account_id) {
|
||||
console.log(`root layout.ts: The account_id was not found in API response!!!`);
|
||||
return false;
|
||||
}
|
||||
|
||||
// console.log(ae_loc_init);
|
||||
|
||||
// if (browser) {
|
||||
|
||||
Reference in New Issue
Block a user