Skip to content

Commit

Permalink
eslint fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Shangria committed Aug 21, 2024
1 parent 1e66d32 commit 67f3212
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions gatsby-ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ exports.onRenderBody = ({ setHtmlAttributes, setHeadComponents }) => {
setHtmlAttributes({ lang: "en" });

setHeadComponents([
// eslint-disable-next-line react/jsx-filename-extension
<script
key="plausible-script"
defer
Expand Down
1 change: 1 addition & 0 deletions src/components/EventsList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ const EventsList = () => {
setIsLoading(false);
})
.catch((error) => {
// eslint-disable-next-line no-console
console.error("Error fetching data: ", error);
setIsLoading(false);
});
Expand Down

0 comments on commit 67f3212

Please sign in to comment.