From 9b8d4c76fbffc14d0aa7875cff778bbe02d64c9d Mon Sep 17 00:00:00 2001 From: Stefan Forstenlechner Date: Mon, 19 Aug 2024 13:09:07 +0200 Subject: [PATCH] Remove unnecessary TODOs ad responsive.ts: min with 2 columns is fine --- picture-gallery-client/package.json | 5 ++--- picture-gallery-client/src/util/responsive.ts | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/picture-gallery-client/package.json b/picture-gallery-client/package.json index 35b6eee..f1a72bb 100644 --- a/picture-gallery-client/package.json +++ b/picture-gallery-client/package.json @@ -13,9 +13,8 @@ "client:run": "npm run client:build && npm run client:start", "client:start": "vite", "set-environment": "npx import-meta-env -x .env.example", - "client:test": "TODO", - "test": "vitest", - "coverage": "vitest run --coverage" + "client:test": "vitest", + "client:coverage": "vitest run --coverage" }, "dependencies": { "@emotion/react": "^11.13.0", diff --git a/picture-gallery-client/src/util/responsive.ts b/picture-gallery-client/src/util/responsive.ts index 7f66927..ca7dda4 100644 --- a/picture-gallery-client/src/util/responsive.ts +++ b/picture-gallery-client/src/util/responsive.ts @@ -2,7 +2,6 @@ import useMediaQuery from "@mui/material/useMediaQuery"; const breakpoints = Object.freeze([1200, 600, 300, 0]); -// TODO: never can be one column at the moment export function useColumns(): number { const values = [5, 4, 3, 2]; const index = breakpoints