mirror of
https://github.com/spliit-app/spliit.git
synced 2026-02-24 16:36:12 +01:00
Merge feedback and support dialogs
This commit is contained in:
@@ -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>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user