fix all linting issues, upgrade most packages

This commit is contained in:
41666 2022-01-30 04:53:13 -05:00
parent c7774ddca3
commit 3c3af304f7
45 changed files with 1148 additions and 1848 deletions

View file

@ -19,11 +19,9 @@ const RoleWrap = styled.div`
`;
export const DemoPicker = () => {
const [selectedStates, setSelectedStates] = React.useState<
{
[key in RPCRole['id']]: boolean;
}
>(demoData.reduce((acc, role) => ({ ...acc, [role.id]: false }), {}));
const [selectedStates, setSelectedStates] = React.useState<{
[key in RPCRole['id']]: boolean;
}>(demoData.reduce((acc, role) => ({ ...acc, [role.id]: false }), {}));
return (
<Container>