表格与页面样式调整
This commit is contained in:
@@ -6,6 +6,7 @@ import { Controller, useForm } from "react-hook-form"
|
||||
import z from "zod"
|
||||
import { getPageBalance } from "@/actions/balance"
|
||||
import { DataTable, useDataTable } from "@/components/data-table"
|
||||
import { Page } from "@/components/page"
|
||||
import { Button } from "@/components/ui/button"
|
||||
import {
|
||||
Field,
|
||||
@@ -14,7 +15,6 @@ import {
|
||||
FieldLabel,
|
||||
} from "@/components/ui/field"
|
||||
import { Input } from "@/components/ui/input"
|
||||
|
||||
import type { Balance } from "@/models/balance"
|
||||
|
||||
type FilterValues = {
|
||||
@@ -84,8 +84,8 @@ export default function BalancePage() {
|
||||
})
|
||||
|
||||
return (
|
||||
<div className="space-y-3">
|
||||
<form onSubmit={onFilter} className="bg-white p-4 rounded-lg">
|
||||
<Page>
|
||||
<form onSubmit={onFilter} className="bg-card p-4 rounded-lg">
|
||||
<div className="flex flex-wrap items-end gap-4">
|
||||
<Controller
|
||||
name="phone"
|
||||
@@ -226,6 +226,6 @@ export default function BalancePage() {
|
||||
]}
|
||||
/>
|
||||
</Suspense>
|
||||
</div>
|
||||
</Page>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user