Skip to content

Commit

Permalink
Merge pull request #952 from dxyaa/old-dev
Browse files Browse the repository at this point in the history
feat(hacktoberfest): fetch data error removed
  • Loading branch information
AswinAsok authored Nov 6, 2023
2 parents 7b61c01 + 88a95ac commit 3914c55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Pages/Events/HacktoberFest/HacktoberFest.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Navbar from "../../../Components/Navbar/Navbar";
import styles from "./HacktoberFest.module.css";

const HacktoberFest = () => {
const [error,setError]= useState()
const [error]= useState()
const [profiles,setProfiles] = useState([])
const [pyProfiles,setpyProfiles] = useState([])
axios.get("https://opensheet.elk.sh/1r5Pav8TlUEao_9GuMcFasKUEPSDIJOPB9PXKbt4KlTQ/hacktoberfest").then(
Expand All @@ -14,7 +14,7 @@ const HacktoberFest = () => {
})
.catch((error) => {
console.log(error);
setError("We are currently facing some difficulties in fetching the data at the moment, will be back soon.")


});
axios.get("https://opensheet.elk.sh/1r5Pav8TlUEao_9GuMcFasKUEPSDIJOPB9PXKbt4KlTQ/info").then(
Expand All @@ -23,7 +23,7 @@ const HacktoberFest = () => {
})
.catch((error) => {
console.log(error);
setError("We are currently facing some difficulties in fetching the data at the moment, will be back soon.")


});

Expand Down

0 comments on commit 3914c55

Please sign in to comment.