Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

chore: update toast to correct email

Marc Seitz71e2ad6f59b6
diff --git a/pages/account/general.tsx b/pages/account/general.tsx
index dafcd87a..ee8bcc81 100644
--- a/pages/account/general.tsx
+++ b/pages/account/general.tsx
@@ -70,7 +70,7 @@ const ProfilePage: NextPage = () => {
}).then(async (res) => {
if (res.status === 200) {
toast.success(
- `A confirmation email has been sent to ${data.email}.`,
+ `A confirmation email has been sent to ${session?.user?.email}.`,
);
} else {
const { error } = await res.json();