CUB-135: resolve merge conflict with dev + lint fixes
Dev Build / build-test (pull_request) Successful in 37s

- Merge SSEProvider/ToastContainer with Dashboard/Inventory routes
- Fix no-explicit-any in useSSE.ts (Record<string, unknown>)
- Fix exhaustive-deps warning in InventoryPage (wrap filaments in useMemo)
This commit is contained in:
2026-05-26 10:36:56 -04:00
parent 630fbb03e4
commit e11c8f1e58
4 changed files with 335 additions and 5 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ export default function InventoryPage() {
queryFn: () => fetchFilaments(filter),
})
const filaments = data?.data ?? []
const filaments = useMemo(() => data?.data ?? [], [data?.data])
const total = data?.total ?? 0
const totalPages = Math.max(1, Math.ceil(total / PAGE_SIZE))