Skip to content

Commit

Permalink
fix: Fix for loading changelog from the proper path
Browse files Browse the repository at this point in the history
  • Loading branch information
itssimple committed Mar 30, 2022
1 parent ea09954 commit 132b688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/react/MainWindow/Changelog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export function Changelog() {
const [changelog, setChangelog] = useState("changelog");

useEffect(() => {
fetch("../../../public/changelog.html").then(async (response) => setChangelog(await response.text()));
fetch("../public/changelog.html").then(async (response) => setChangelog(await response.text()));
}, []);
return (
<div className="tab-pane fade" id="changelog" role="tabpanel" aria-labelledby="changelog-tab">
Expand Down

0 comments on commit 132b688

Please sign in to comment.