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

🔧 Remove instance name from GroupListBox

This commit is contained in:
Steffo 2021-10-07 18:44:13 +02:00
parent 94156a1e56
commit c7d6aa4797
Signed by: steffo
GPG key ID: 6965406171929D01

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.