fix subscription success page (#636)
* fix subscription success page * Fix typo
This commit is contained in:
parent
6cf1cd663a
commit
c927a235f8
|
|
@ -69,7 +69,7 @@
|
||||||
errorReport += ` And here are technical details about the error: \`\`\`${error.stack}\`\`\``
|
errorReport += ` And here are technical details about the error: \`\`\`${error.stack}\`\`\``
|
||||||
try {
|
try {
|
||||||
crisp.openAndShowChat(errorReport)
|
crisp.openAndShowChat(errorReport)
|
||||||
crisp.showMessage(`Hi there, we're very sorry to hear you experienced an issue with NoteForms.
|
crisp.showMessage(`Hi there, we're very sorry to hear you experienced an issue with OpnForm.
|
||||||
We'll be in touch about it very soon! In the meantime, I recommend that you try going back one step, and save your changes.`, 2000)
|
We'll be in touch about it very soon! In the meantime, I recommend that you try going back one step, and save your changes.`, 2000)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error('Crisp error', e)
|
console.error('Crisp error', e)
|
||||||
|
|
|
||||||
|
|
@ -199,7 +199,7 @@
|
||||||
<template #description>
|
<template #description>
|
||||||
<div class="flex flex-wrap sm:flex-nowrap gap-4 items-start">
|
<div class="flex flex-wrap sm:flex-nowrap gap-4 items-start">
|
||||||
<p class="flex-grow">
|
<p class="flex-grow">
|
||||||
Remove NoteForms branding, customize forms further, use your custom domain, integrate with your
|
Remove OpnForm branding, customize forms further, use your custom domain, integrate with your
|
||||||
favorite tools, invite users, and more!
|
favorite tools, invite users, and more!
|
||||||
</p>
|
</p>
|
||||||
<UButton
|
<UButton
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ const redirectIfSubscribed = () => {
|
||||||
}
|
}
|
||||||
const checkSubscription = () => {
|
const checkSubscription = () => {
|
||||||
// Fetch the user.
|
// Fetch the user.
|
||||||
return noteFormsFetch('user').then((data) => {
|
return opnFetch('user').then((data) => {
|
||||||
authStore.setUser(data)
|
authStore.setUser(data)
|
||||||
redirectIfSubscribed()
|
redirectIfSubscribed()
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue