Skip to content

Commit

Permalink
fix initial state error
Browse files Browse the repository at this point in the history
  • Loading branch information
zuies committed Dec 5, 2023
1 parent 1c389b3 commit 7e2851c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function DisengagedMembersCompositionBreakdown() {
const [isExpanded, toggleExpanded] = useState<boolean>(false);
const [page, setPage] = useState(1);
const [loading, setLoading] = useState<boolean>(false);
const [roles, setRoles] = useState<IRolesPayload>(IRolesPayload);
const [roles, setRoles] = useState<IRolesPayload>();
const [disengagedComposition, setDisengagedComposition] = useState<string[]>(
options.map((option) => option.value)
);
Expand Down

0 comments on commit 7e2851c

Please sign in to comment.