[ABANDONED] React/Redux front end for the Flexor social network.
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.
 
 

20 lines
393 B

import React, { FC } from 'react'
import { Entity } from '../../../types'
interface Props {
groups: Entity[]
fetchGroups: () => void
}
const Directory: FC<Props> = ({ groups, fetchGroups }) => {
return (
<div>
<h1 className="title">Communities</h1>
{groups.length === 0 && <p>No Communities</p>}
</div>
)
}
export default Directory