Added tests and fixed bugs

This commit is contained in:
Philipp Czora
2018-07-17 11:29:58 +02:00
parent ea8f8b23c5
commit 4ecc4338d6
6 changed files with 55 additions and 33 deletions

View File

@@ -1,11 +1,11 @@
// @flow
import React from "react";
import UserRow from "./UserRow";
import { editUser } from "../modules/users";
import type { User } from "../types/User";
import type { UserEntry } from "../types/UserEntry";
type Props = {
entries: [{ loading: boolean, error: Error, user: User }],
entries: Array<UserEntry>,
deleteUser: string => void,
editUser: User => void
};