Skip to content

Commit

Permalink
fix loading
Browse files Browse the repository at this point in the history
  • Loading branch information
igor.polianskyi committed Oct 7, 2024
1 parent 38d98ad commit a370b8a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ export const App = () => {
</div>

<div className="block">
{listLoading && <Loader />}
<TodoList />
{listLoading ? <Loader /> : <TodoList />}
</div>
</div>
</div>
Expand Down

0 comments on commit a370b8a

Please sign in to comment.