Skip to content

Commit 20930e1

Browse files
chore: fix PWA dependencies
1 parent 2c6007d commit 20930e1

File tree

3 files changed

+8
-179
lines changed

3 files changed

+8
-179
lines changed

pwa/components/admin/book/BookInput.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export const BookInput = (props: BookInputProps) => {
120120
} = useInput({ ...props, source: "book" });
121121
const title = useWatch({ name: "title" });
122122
const author = useWatch({ name: "author" });
123-
const controller = useRef<AbortController | undefined>();
123+
const controller = useRef<AbortController | undefined>(undefined);
124124
const [searchQuery, setSearchQuery] = useState<string>("");
125125
const [value, setValue] = useState<Result | null | undefined>(
126126
!!title && !!author && !!field.value

pwa/package.json

+2-6
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"@api-platform/api-doc-parser": "^0.16.6",
1515
"@auth/core": "^0.37.4",
1616
"@fontsource/poppins": "^5.1.1",
17-
"@mui/icons-material": "^6.4.0",
18-
"@mui/material": "^6.4.0",
17+
"@mui/icons-material": "latest-v5",
18+
"@mui/material": "latest-v5",
1919
"@tailwindcss/forms": "^0.5.10",
2020
"@tanstack/react-query": "^5.64.2",
2121
"@tanstack/react-query-devtools": "^5.64.2",
@@ -51,9 +51,5 @@
5151
"eslint-config-next": "^15.1.5",
5252
"typescript": "^5.7.3"
5353
},
54-
"peerDependencies": {
55-
"@babel/core": "^7.19.0",
56-
"@popperjs/core": "^2.11.6"
57-
},
5854
"packageManager": "[email protected]+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee"
5955
}

pwa/pnpm-lock.yaml

+5-172
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)