feat: Add new payment completion and failure routes, update donation handling in DonationForm and related components

This commit is contained in:
2025-04-24 13:55:26 -04:00
parent af80f30f7a
commit 3a6ee307cd
9 changed files with 120 additions and 164 deletions

View File

@@ -22,7 +22,11 @@ export const useBrandingStore = defineStore(
watch(
() => route.params.creator,
async (creator) => {
await updateBrand(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);
}
)