Skip to content

Commit 7ba15fd

Browse files
author
GeoCodeCrafter
committed
fix: postcss CJS syntax and useEffect dependency
1 parent 89bfbcc commit 7ba15fd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎postcss.config.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export default {
1+
module.exports = {
22
plugins: {
33
tailwindcss: {},
44
autoprefixer: {},

‎src/screens/DatasetBrowserScreen.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function DatasetBrowserScreen() {
1818

1919
useEffect(() => {
2020
search();
21-
}, []);
21+
}, [search]);
2222

2323
const handleSearch = (e: React.FormEvent) => {
2424
e.preventDefault();

0 commit comments

Comments
 (0)