aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/groups/layout.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/groups/layout.tsx')
-rw-r--r--src/app/groups/layout.tsx10
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>
</>
)
}