aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSebastien Castiel <sebastien@castiel.me>2024-01-16 13:49:37 -0500
committerSebastien Castiel <sebastien@castiel.me>2024-01-16 13:55:34 -0500
commit6b6d58e95ec018c695e9d865b8136319ad93e825 (patch)
treef3e7ad099f942fad1080a3d537fab59cf1372ae9 /src
parentd809e10d1923fe29351a4c969eaa3468baf15397 (diff)
Add GitHub actions
Diffstat (limited to 'src')
-rw-r--r--src/app/groups/[groupId]/expenses/page.tsx7
-rw-r--r--src/components/donation-button.tsx5
2 files changed, 9 insertions, 3 deletions
diff --git a/src/app/groups/[groupId]/expenses/page.tsx b/src/app/groups/[groupId]/expenses/page.tsx
index bd4f600..3ef84e3 100644
--- a/src/app/groups/[groupId]/expenses/page.tsx
+++ b/src/app/groups/[groupId]/expenses/page.tsx
@@ -10,7 +10,7 @@ import {
} from '@/components/ui/card'
import { Skeleton } from '@/components/ui/skeleton'
import { getGroup, getGroupExpenses } from '@/lib/api'
-import { Download, DownloadCloud, Plus } from 'lucide-react'
+import { Download, Plus } from 'lucide-react'
import { Metadata } from 'next'
import Link from 'next/link'
import { notFound } from 'next/navigation'
@@ -40,7 +40,10 @@ export default async function GroupExpensesPage({
</CardHeader>
<CardHeader className="p-4 sm:p-6 flex flex-row space-y-0 gap-2">
<Button variant="secondary" size="icon" asChild>
- <Link href={`/groups/${groupId}/expenses/export/json`} target="_blank">
+ <Link
+ href={`/groups/${groupId}/expenses/export/json`}
+ target="_blank"
+ >
<Download className="w-4 h-4" />
</Link>
</Button>
diff --git a/src/components/donation-button.tsx b/src/components/donation-button.tsx
index 5518ce8..b2c360c 100644
--- a/src/components/donation-button.tsx
+++ b/src/components/donation-button.tsx
@@ -112,7 +112,10 @@ function DonationForm({ donationUrl }: Props) {
</p>
</div>
<div className="mt-4 text-center">
- <Button asChild className="bg-pink-700 hover:bg-pink-600 dark:bg-pink-500 dark:hover:bg-pink-600">
+ <Button
+ asChild
+ className="bg-pink-700 hover:bg-pink-600 dark:bg-pink-500 dark:hover:bg-pink-600"
+ >
<a href={donationUrl} target="_blank">
<Heart className="w-4 h-4 mr-2" /> Support us
</a>