diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..b322dac --- /dev/null +++ b/TODO.md @@ -0,0 +1,3 @@ +- [ ] Active search +- [ ] Loading indicator + diff --git a/mprocs.yaml b/mprocs.yaml index 37464e4..5eb0d32 100644 --- a/mprocs.yaml +++ b/mprocs.yaml @@ -10,7 +10,7 @@ procs: autostart: false ESLint: - shell: find src/ | entr -s 'yarn lint' + shell: watchexec -c -e ts,tsx -- yarn lint autostart: false Dev Server: diff --git a/package.json b/package.json index 14d20b2..c762e96 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@types/react-dom": "^18.2.7", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", - "@vitejs/plugin-react-swc": "^3.3.2", + "daisyui": "^4.6.1", "dotenv-cli": "^7.2.1", "eslint": "^8.45.0", "eslint-plugin-react-hooks": "^4.6.0", diff --git a/src/components/CitySearch.tsx b/src/components/CitySearch.tsx index 56a065d..040d6d5 100644 --- a/src/components/CitySearch.tsx +++ b/src/components/CitySearch.tsx @@ -45,9 +45,9 @@ export default function CitySearch() { return ( <>
- (e.key === 'Enter' ? search() : undefined)} />