Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gkasdorf committed Oct 22, 2023
1 parent dd7fed9 commit 0537677
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/helpers/LogHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ export const createIfDontExist = async (): Promise<void> => {
.then()
// eslint-disable-next-line no-console
.catch((e) => {
console.log(e.toString());
// eslint-disable-next-line no-console
console.log(e.toString()); // We should be able to log here
});
}
};
Expand Down
4 changes: 1 addition & 3 deletions src/hooks/useBackgroundChecks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ const updateCounts = async (): Promise<void> => {

const total = res.replies + res.mentions;
setUnread(total);
} catch (e) {
console.log(e);
}
} catch (e) {}
};

let refreshInterval: NodeJS.Timeout | undefined;
Expand Down

0 comments on commit 0537677

Please sign in to comment.