mirror of
https://github.com/spliit-app/spliit.git
synced 2026-03-10 22:19:04 +01:00
All checks were successful
CI / checks (push) Successful in 1m7s
Migrate to latest versions of Next.js, React, Radix, etc.
23 lines
569 B
TypeScript
23 lines
569 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,
|
|
}: {
|
|
params: Promise<{ groupId: string; expenseId: string }>
|
|
}) {
|
|
const { groupId, expenseId } = await params
|
|
return (
|
|
<EditExpenseForm
|
|
groupId={groupId}
|
|
expenseId={expenseId}
|
|
runtimeFeatureFlags={await getRuntimeFeatureFlags()}
|
|
/>
|
|
)
|
|
}
|