Skip to content

Commit

Permalink
update base
Browse files Browse the repository at this point in the history
  • Loading branch information
frubesss committed Oct 28, 2024
1 parent 8af0fbd commit 9f47c11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function App() {
queryKey: ["logoIcons"],
queryFn: async (): Promise<string[]> => {
const response = await fetch(
`https://logo-icons-lookup-api.deno.dev/all_logo_icons`,
"https://logo-icons-lookup-api.deno.dev/all_logo_icons",
);
return await response.json();
},
Expand Down Expand Up @@ -52,7 +52,7 @@ function App() {
type="search"
placeholder={`Search ${query.data?.length} icons...`}
value={searchTerm}
onChange={(e) => setSearchTerm(e.target.value)} // Update searchTerm
onChange={(e) => setSearchTerm(e.target.value)}
/>
<div
style={{
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ import react from "@vitejs/plugin-react";

// https://vite.dev/config/
export default defineConfig({
base: "/",
plugins: [react()],
});

0 comments on commit 9f47c11

Please sign in to comment.