feat: Add new payment completion and failure routes, update donation handling in DonationForm and related components
This commit is contained in:
@@ -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);
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user