Upgrade frontend to Node 26, React 19, Vite 8, Apollo Client 4 and ESLint 10

This commit is contained in:
ponas committed 2026-10-23 02:19:33 +02:00
1 parent 0a65bb2c90
commit 336f6afa5d
44 files changed
+2940 -4597

No files matched your search

@@ -1,11 +1,11 @@
import { useQuery } from "@apollo/client";
import { useQuery } from "@apollo/client/react";
import { format, subDays } from "date-fns";
import React, { useState } from "react";
import styles from "./Inventory.module.css";
import { GQLError } from "../../components/GQLError";
import { InventoryReportDocument } from "../../types";
import { formatCurrency } from "../../utils/currency";
import styles from "./Inventory.module.css";
const today = () => format(new Date(), "yyyy-MM-dd");
const monthAgo = () => format(subDays(new Date(), 30), "yyyy-MM-dd");