Wrapping up for the day. I need to research this. Why does the first link (anchor tag) that is hovered over (triggers pre-load) fail if the URL has a “slug” value? Or any URL??? Any links after the first seem to pre-load fine.

This commit is contained in:
Scott Idem
2024-07-17 18:30:08 -04:00
parent d16c47fedf
commit 43488b8f76
2 changed files with 1 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ export async function load({ parent }) { // route
let ae_acct = data[account_id];
console.log(`ae_acct = `, ae_acct);
let person_id = await data.params.slug;
let person_id = await data.params.person_id;
// let person_id_test = data.params.person.slug;
// console.log(`person_id_test = `, person_id_test);
if (!person_id) {