Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
daweifeng committed Mar 8, 2021
1 parent a94714f commit 3f1c7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function App() {
console.error(error)
return <div>Failed to get data</div>
}
if (status !== RequestStatus.FETCHING) {
if (status === RequestStatus.FETCHING) {
return (
<div className="loading">
<div className="logo spinning">
Expand Down

0 comments on commit 3f1c7e6

Please sign in to comment.