Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/CardSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const CardSet = ({
<div className={` grid grid-cols-1 lg:grid-cols-3 `}>
{isEmpty(repositores) ? (
<div>
<h5>
<h5 className="text-center text-slate-600">
No issues to be shown at the moment, please try again later.
</h5>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Loading/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Loading = () => {
<div className="z-20 flex justify-center items-center fixed w-full h-full bg-black/50 top-0 right-0">
<div className="flex flex-col justify-center items-center bg-black px-5 py-2 rounded-2xl">
<div className="border-l-4 border-white animate-spin w-8 h-8 rounded-full"></div>
<span className="text-white">Loading...</span>
<span className="text-white">processing...</span>
</div>
</div>
);
Expand Down
2 changes: 0 additions & 2 deletions src/components/SingleCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ import { ThemeContext } from "../Context/themeContext";


const SingleCard = (props) => {
// console.log(props.repo)
const [repo, setRepo] = useState(null);
const [isLoading, setIsLoading] = useState(false);
const [wasRejected, setWasRejected] = useState(false);
const { theme } = useContext(ThemeContext);

useEffect(() => {
//Modifiquei voltar pra true
setIsLoading(false);
// GET request using axios inside useEffect React hook
axios
Expand Down