Remove duplicative Toggle component (#3028)

fix: Tidy some styling and spacing issues in settings
This commit is contained in:
Tom Moor
2022-01-28 20:23:02 -08:00
committed by GitHub
parent 1cd770e38d
commit 76d83b5e82
19 changed files with 112 additions and 197 deletions

View File

@@ -11,7 +11,7 @@ import Time from "~/components/Time";
type Props = {
user: User;
canEdit: boolean;
onAdd: () => any;
onAdd: () => void;
};
const UserListItem = ({ user, onAdd, canEdit }: Props) => {