From da2a7945a7fc2acc279c8e4e1ba192129d0eaedc Mon Sep 17 00:00:00 2001 From: Taha <98838967+Taha-Hassan-Git@users.noreply.github.com> Date: Fri, 1 Dec 2023 16:31:21 +0000 Subject: [PATCH] edit toast to include FAQs --- app/hooks/useMakeReal.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/app/hooks/useMakeReal.ts b/app/hooks/useMakeReal.ts index c118972..445a5d1 100644 --- a/app/hooks/useMakeReal.ts +++ b/app/hooks/useMakeReal.ts @@ -21,16 +21,26 @@ export function useMakeReal() { console.error(e) toast.addToast({ title: 'Something went wrong', - description: `${e.message.slice(0, 100)}`, + description: `${e.message.slice(0, 200)}`, actions: [ { type: 'primary', - label: 'Learn more', + label: 'Join Discord', onClick: () => { // open a new tab with the url... window.open('https://discord.gg/QHqp9f7ejq', '_blank') }, }, + { + type: 'normal', + label: 'FAQs', + onClick: () => { + window.open( + 'https://tldraw.notion.site/Make-Real-FAQs-93be8b5273d14f7386e14eb142575e6e?pvs=4', + '_blank' + ) + }, + }, ], }) }