Skip to content

Commit

Permalink
Merge branch 'main' into feat/add-productions-list-to-manage-view
Browse files Browse the repository at this point in the history
  • Loading branch information
malmen237 authored Jul 9, 2024
2 parents fdfacd4 + 30b9b07 commit 7f959b3
Show file tree
Hide file tree
Showing 3 changed files with 390 additions and 270 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@types/react": "^18.3.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.12.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"eslint": "^8.57.0",
Expand All @@ -40,14 +40,14 @@
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"husky": "^9.0.11",
"lint-staged": "^15.2.5",
"prettier": "^3.2.5",
"prettier": "^3.3.2",
"typescript": "5.4.5",
"vite": "^5.2.11",
"vite": "^5.3.3",
"vite-plugin-svgr": "^4.2.0"
}
}
2 changes: 1 addition & 1 deletion src/components/landing-page/use-fetch-production-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const useFetchProductionList = () => {

setProductions(
result
// pick last 10 items
// pick last 10 items and display newest first
.slice(0, 10)
);

Expand Down
Loading

0 comments on commit 7f959b3

Please sign in to comment.