Prettier for Event ID
This commit is contained in:
@@ -17,7 +17,9 @@ export async function load({ params, parent }) {
|
||||
let ae_acct = data[account_id];
|
||||
|
||||
if (!ae_acct) {
|
||||
console.warn(`ae Events - [event_id] +layout.ts: Account ${account_id} not found in data. Initializing ghost acct.`);
|
||||
console.warn(
|
||||
`ae Events - [event_id] +layout.ts: Account ${account_id} not found in data. Initializing ghost acct.`
|
||||
);
|
||||
ae_acct = {
|
||||
api: data.ae_api || {},
|
||||
slct: {
|
||||
@@ -39,7 +41,8 @@ export async function load({ params, parent }) {
|
||||
ae_acct.slct.event_id = event_id;
|
||||
|
||||
if (browser) {
|
||||
if (log_lvl) console.log(`ae_events [event_id] +layout.ts (Non-Blocking)`);
|
||||
if (log_lvl)
|
||||
console.log(`ae_events [event_id] +layout.ts (Non-Blocking)`);
|
||||
|
||||
// OPTIMIZATION: Fire the event load in the background without 'await'.
|
||||
// The event module uses SWR, so this will:
|
||||
|
||||
Reference in New Issue
Block a user