Remove unnecessary TODOs
ad responsive.ts: min with 2 columns is fine
This commit is contained in:
parent
02098fd2ea
commit
9b8d4c76fb
|
|
@ -13,9 +13,8 @@
|
||||||
"client:run": "npm run client:build && npm run client:start",
|
"client:run": "npm run client:build && npm run client:start",
|
||||||
"client:start": "vite",
|
"client:start": "vite",
|
||||||
"set-environment": "npx import-meta-env -x .env.example",
|
"set-environment": "npx import-meta-env -x .env.example",
|
||||||
"client:test": "TODO",
|
"client:test": "vitest",
|
||||||
"test": "vitest",
|
"client:coverage": "vitest run --coverage"
|
||||||
"coverage": "vitest run --coverage"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.13.0",
|
"@emotion/react": "^11.13.0",
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@ import useMediaQuery from "@mui/material/useMediaQuery";
|
||||||
|
|
||||||
const breakpoints = Object.freeze([1200, 600, 300, 0]);
|
const breakpoints = Object.freeze([1200, 600, 300, 0]);
|
||||||
|
|
||||||
// TODO: never can be one column at the moment
|
|
||||||
export function useColumns(): number {
|
export function useColumns(): number {
|
||||||
const values = [5, 4, 3, 2];
|
const values = [5, 4, 3, 2];
|
||||||
const index = breakpoints
|
const index = breakpoints
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue