diff --git a/client/src/pages/Admin.tsx b/client/src/pages/Admin.tsx index 3af3e4d..610474a 100644 --- a/client/src/pages/Admin.tsx +++ b/client/src/pages/Admin.tsx @@ -17,7 +17,7 @@ import { Users, X, } from "lucide-react"; -import { useState, useMemo } from "react"; +import { useState, useMemo, Fragment } from "react"; import { toast } from "sonner"; // ─── Types ──────────────────────────────────────────────────────────────────── @@ -307,8 +307,8 @@ function UsersPanel() { const isExpanded = expandedAffectations === u.id; return ( - <> - + + {isEditing ? ( )} - + ); })}