Fix users refresh click handler
This commit is contained in:
parent
81c170ed53
commit
c14dd3a890
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ export default function AdminUsersPage() {
|
|||
<p className="text-muted-foreground mt-1">Manage all platform users</p>
|
||||
</div>
|
||||
<div className="flex gap-2">
|
||||
<Button variant="outline" onClick={loadUsers} disabled={loading}>
|
||||
<Button variant="outline" onClick={() => loadUsers()} disabled={loading}>
|
||||
<RefreshCw className={`h-4 w-4 mr-2 ${loading ? "animate-spin" : ""}`} />
|
||||
Refresh
|
||||
</Button>
|
||||
|
|
|
|||
Loading…
Reference in a new issue