The main server, and probably only repository in this org.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
398 B

import React from "react";
import useGroups from "../Hooks/group";
import Loading from "./Groups";
import LGroup from "./LGroup";
import {Row} from "reactstrap";
function LGroups() {
const groups = useGroups();
if (groups === null) {
return <Loading/>;
}
return (
<Row>
{groups.map(group => <LGroup key={group.id} {...group} />)}
</Row>
);
}
export default LGroups;