Skip to content

Commit

Permalink
reset feed errors on load
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Junk committed Dec 7, 2023
1 parent 0d7b736 commit a7a44e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/urlloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const displayErrorMsg = (response: Response) => {
*/
async function load(url: string) {
url = `${PUBLIC_PROXY_PATH}${url}`;
appStore.setFeedErrorMsg("");
try {
appStore.setLoading(true);
const response = await fetch(`${url}`);
Expand Down

0 comments on commit a7a44e7

Please sign in to comment.