Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
c2f1fb551d
commit
570e7dcc56
@@ -26,6 +26,8 @@ export const Route = createFileRoute("/invoices/")({
|
||||
|
||||
type UnbilledStatus = "unbilled" | "marked" | "all";
|
||||
|
||||
const PAGE_SIZE = 100;
|
||||
|
||||
function InvoicesIndex() {
|
||||
const navigate = useNavigate();
|
||||
const { user } = useAuth();
|
||||
@@ -33,6 +35,8 @@ function InvoicesIndex() {
|
||||
const [loading, setLoading] = useState(true);
|
||||
const [q, setQ] = useState("");
|
||||
const [status, setStatus] = useState<string>("all");
|
||||
const [page, setPage] = useState(0);
|
||||
const [totalCount, setTotalCount] = useState(0);
|
||||
|
||||
const [time, setTime] = useState<any[]>([]);
|
||||
const [expenses, setExpenses] = useState<any[]>([]);
|
||||
|
||||
Reference in New Issue
Block a user