mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
BREAKING: postgres + saas
This commit is contained in:
13
app/(app)/import/csv/page.tsx
Normal file
13
app/(app)/import/csv/page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { ImportCSVTable } from "@/components/import/csv"
|
||||
import { getCurrentUser } from "@/lib/auth"
|
||||
import { getFields } from "@/models/fields"
|
||||
|
||||
export default async function CSVImportPage() {
|
||||
const user = await getCurrentUser()
|
||||
const fields = await getFields(user.id)
|
||||
return (
|
||||
<div className="flex flex-col gap-4 p-4">
|
||||
<ImportCSVTable fields={fields} />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user