feat: clean up the style of public payment page.

This commit is contained in:
Ahmed Bouhuolia
2024-09-21 09:53:00 +02:00
parent 11c56c75a4
commit 8de8695b25
6 changed files with 52 additions and 48 deletions

View File

@@ -25,7 +25,7 @@ export function PaymentPortal() {
.then((session) => {
window.open(session.redirectTo);
})
.catch(() => {
.catch((error) => {
AppToaster.show({
intent: Intent.DANGER,
message: 'Something went wrong.',
@@ -52,7 +52,7 @@ export function PaymentPortal() {
</Text>
</Stack>
<Stack spacing={2}>
<Stack className={styles.address} spacing={2}>
<Box className={styles.customerName}>
{sharableLinkMeta?.customerName}
</Box>