mirror of
https://github.com/spliit-app/spliit.git
synced 2026-03-10 05:59:06 +01:00
22 lines
538 B
TypeScript
22 lines
538 B
TypeScript
import { EditExpenseForm } from '@/app/groups/[groupId]/expenses/edit-expense-form'
|
|
import { getRuntimeFeatureFlags } from '@/lib/featureFlags'
|
|
import { Metadata } from 'next'
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Edit Expense',
|
|
}
|
|
|
|
export default async function EditExpensePage({
|
|
params: { groupId, expenseId },
|
|
}: {
|
|
params: { groupId: string; expenseId: string }
|
|
}) {
|
|
return (
|
|
<EditExpenseForm
|
|
groupId={groupId}
|
|
expenseId={expenseId}
|
|
runtimeFeatureFlags={await getRuntimeFeatureFlags()}
|
|
/>
|
|
)
|
|
}
|