1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 06:44:21 +00:00

🔧 Remove instance name from GroupListBox

This commit is contained in:
Steffo 2021-10-07 18:44:13 +02:00
parent de3624d72c
commit 51e4053990

View file

@ -1,6 +1,5 @@
import {Box, Heading} from "@steffo/bluelib-react"
import * as React from "react"
import {useInstanceContext} from "../../contexts/instance"
import {ManagedViewSet} from "../../hooks/useManagedViewSet"
import {SophonResearchGroup} from "../../types/SophonTypes"
import {GroupResourcePanel} from "./GroupResourcePanel"
@ -12,12 +11,10 @@ export interface GroupListBoxProps {
export function GroupListBox({viewSet}: GroupListBoxProps): JSX.Element {
const instance = useInstanceContext()
return (
<Box>
<Heading level={3}>
Research groups on {instance?.state.details?.name}
Research groups
</Heading>
<p>
Research groups are groups of people that work together on one or more research projects.