Skip to content

Commit

Permalink
Fix data path
Browse files Browse the repository at this point in the history
  • Loading branch information
Studio384 committed Feb 14, 2024
1 parent 7edb902 commit 25b5364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/app/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function Icon() {
const firstCategory = icon?.categories?.[0];

useEffect(() => {
fetch(`/data/icons/${slug}.json`)
fetch(`data/icons/${slug}.json`)
.then((res) => res.json())
.then((data) => setIcon(data));
}, [slug]);
Expand Down

0 comments on commit 25b5364

Please sign in to comment.