Skip to content

Commit

Permalink
fixed bug with component unmounting
Browse files Browse the repository at this point in the history
  • Loading branch information
Andcool-Systems committed Jan 5, 2025
1 parent b31f7f1 commit 6653123
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/admin/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ const Users = () => {
);
})

if (usersEl.length === 0) return null;

return (
<div style={{ display: 'flex', flexDirection: 'column', gap: '1rem' }}>
<h2 style={{ margin: 0 }}>Пользователи ({usersEl.length})</h2>
Expand Down

0 comments on commit 6653123

Please sign in to comment.