import React, { useContext } from "react" import Loading from "../base/Loading" import BoxFullScrollable from "../base/BoxFullScrollable" import SummaryUser from "./SummaryUser" import ContextLanguage from "../../contexts/ContextLanguage" export default function BoxUserList({ users, destroyUser, running, ...props }) { const {strings} = useContext(ContextLanguage) let contents if(users === null) { contents = } else { contents = users.map(user => ) } return ( {contents} ) }