Skip to content

Commit

Permalink
Merge pull request #2 from esteves-esta/dev
Browse files Browse the repository at this point in the history
chore: eslint and proxy url
  • Loading branch information
esteves-esta authored Dec 16, 2023
2 parents 05e6057 + 4026a6d commit 4f35e8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/src/components/FeedProvider/fetcher.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// const FEED_URL = "https://proxy-bewq.onrender.com/";
const FEED_URL = "http://localhost:3001/";
const FEED_URL = "https://proxy-bewq.onrender.com/";
// const FEED_URL = "http://localhost:3001/";

/*
https://developer.mozilla.org/en-US/docs/Web/XML/Parsing_and_serializing_XML
Expand Down Expand Up @@ -88,7 +88,7 @@ function parseDOM2JSON(items) {
return posts;
}

export const errorRetry = (error, key, config, revalidate, { retryCount }) => {
export const errorRetry = (error, revalidate, { retryCount }) => {
// Never retry on 404.
if (error.status === 404) return;

Expand Down
2 changes: 1 addition & 1 deletion app/src/components/Loader/Loader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function Loader() {
return (<div className="loader loader--style2" title="1">
<svg version="1.1" id="loader-1" xmlns="http://www.w3.org/2000/svg"
x="0px" y="0px"
width="40px" height="40px" viewBox="0 0 50 50" /* style="enable-background:new 0 0 50 50;" */ xml:space="preserve">
width="40px" height="40px" viewBox="0 0 50 50" /* style="enable-background:new 0 0 50 50;" */ xmlSpace="preserve">
<path fill="#000" d="M25.251,6.461c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615V6.461z">
<animateTransform attributeType="xml"
attributeName="transform"
Expand Down

0 comments on commit 4f35e8c

Please sign in to comment.