diff options
| author | Sebastien Castiel <sebastien@castiel.me> | 2024-01-18 15:46:50 -0500 |
|---|---|---|
| committer | Sebastien Castiel <sebastien@castiel.me> | 2024-01-18 15:48:45 -0500 |
| commit | f9040f8beda10b3969572cf8764e49f9b24b222a (patch) | |
| tree | a48e28bb1d92db3ca29985f2ea450df4e1acc76e /src/app/groups/layout.tsx | |
| parent | 395c86666cbca10fe5e2f26476437e1e840b3a65 (diff) | |
Merge feedback and support dialogs
Diffstat (limited to 'src/app/groups/layout.tsx')
| -rw-r--r-- | src/app/groups/layout.tsx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/app/groups/layout.tsx b/src/app/groups/layout.tsx index dadd3a1..75128c8 100644 --- a/src/app/groups/layout.tsx +++ b/src/app/groups/layout.tsx @@ -1,4 +1,8 @@ -import { FeedbackButton } from '@/components/feedback-button/feedback-button' +import { + FeedbackButton, + FeedbackModal, +} from '@/components/feedback-button/feedback-button' +import { env } from '@/lib/env' import { PropsWithChildren } from 'react' export default function GroupsLayout({ children }: PropsWithChildren<{}>) { @@ -7,7 +11,9 @@ export default function GroupsLayout({ children }: PropsWithChildren<{}>) { <main className="flex-1 max-w-screen-md w-full mx-auto px-4 py-6 flex flex-col gap-6"> {children} </main> - <FeedbackButton /> + <FeedbackModal donationUrl={env.STRIPE_DONATION_LINK}> + <FeedbackButton /> + </FeedbackModal> </> ) } |
