Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #117 from igrowker/gab-branch2
Browse files Browse the repository at this point in the history
fix spinner
  • Loading branch information
josepacco00 authored Dec 9, 2024
2 parents 66037cc + 31325a1 commit ac993ec
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"react-leaflet": "^4.2.1",
"react-modal": "^3.16.1",
"react-router-dom": "^6.28.0",
"react-spinners": "^0.15.0",
"swiper": "^11.1.15",
"zod": "^3.23.8"
},
Expand Down
6 changes: 3 additions & 3 deletions src/components/Home/homePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { formatCategory, formatToShortDate } from "../../utils/getDateFormat";
import { DetailExperience } from "../../types/detailexperience";
import { IoIosWarning } from "react-icons/io";
import imageCity from '../../assets/img/City.jpg';
import { PuffLoader } from "react-spinners";
import { PuffLoader } from 'react-spinners';

const Home: React.FC = () => {
const BACK_URL = import.meta.env.VITE_API_URL;
Expand Down Expand Up @@ -148,7 +148,7 @@ const Home: React.FC = () => {
</button>
</div>
</div>
))) : <p className="p-2 bg-neutral-200 text-neutral-500 rounded-md"><IoIosWarning className="inline" /> {experiencesNotFound}</p>
))) : <p className="p-2 rounded-md bg-neutral-200 text-neutral-500"><IoIosWarning className="inline" /> {experiencesNotFound}</p>
) : <PuffLoader />
}
</div>
Expand All @@ -174,7 +174,7 @@ const Home: React.FC = () => {
</div>
</div>
))
) : <p className="p-2 bg-neutral-200 text-neutral-500 rounded-md col-span-2"><IoIosWarning className="inline" /> {experiencesNotFound}</p>
) : <p className="col-span-2 p-2 rounded-md bg-neutral-200 text-neutral-500"><IoIosWarning className="inline" /> {experiencesNotFound}</p>
) : <PuffLoader />
}
</div>
Expand Down

0 comments on commit ac993ec

Please sign in to comment.