bug: missing images when not authenticated

This commit is contained in:
2025-04-24 21:33:28 -04:00
parent d0876861dc
commit c7353626a1
4 changed files with 8 additions and 12 deletions

View File

@@ -22,10 +22,8 @@ export const useBrandingStore = defineStore(
watch(
() => route.params.creator,
async (creator) => {
console.log(`creator: ${creator}`)
// Extract just the creator name from the path (remove any additional segments)
const creatorName = creator ? creator.split('/')[0] : undefined;
console.log(`name: ${creatorName}`)
await updateBrand(creatorName);
}
)