Skip to content

Commit b81ddd1

Browse files
author
Mansi2007275
committed
chore: address minor review nits (env example, indentation)
Signed-off-by: Mansi2007275 <mansi@example.com>
1 parent 970567d commit b81ddd1

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

react-frontend/.env.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
# // REACT_APP_API_URL=http://localhost:5000
21
VITE_REACT_APP_API_URL=http://localhost:5000

react-frontend/src/components/SearchBar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function SearchBar({ onSearchPerformed }) {
3333
const [lastSearchParams, setLastSearchParams] = useState(null);
3434

3535

36-
const BASE_URL = useMemo(
36+
const BASE_URL = useMemo(
3737
() => normalizeApiBaseUrl(import.meta.env.VITE_REACT_APP_API_URL),
3838
[]
3939
);

0 commit comments

Comments
 (0)