mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-23 07:14:21 +00:00
🔧 Remove instance name from GroupListBox
This commit is contained in:
parent
94156a1e56
commit
c7d6aa4797
1 changed files with 1 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
||||||
import {Box, Heading} from "@steffo/bluelib-react"
|
import {Box, Heading} from "@steffo/bluelib-react"
|
||||||
import * as React from "react"
|
import * as React from "react"
|
||||||
import {useInstanceContext} from "../../contexts/instance"
|
|
||||||
import {ManagedViewSet} from "../../hooks/useManagedViewSet"
|
import {ManagedViewSet} from "../../hooks/useManagedViewSet"
|
||||||
import {SophonResearchGroup} from "../../types/SophonTypes"
|
import {SophonResearchGroup} from "../../types/SophonTypes"
|
||||||
import {GroupResourcePanel} from "./GroupResourcePanel"
|
import {GroupResourcePanel} from "./GroupResourcePanel"
|
||||||
|
@ -12,12 +11,10 @@ export interface GroupListBoxProps {
|
||||||
|
|
||||||
|
|
||||||
export function GroupListBox({viewSet}: GroupListBoxProps): JSX.Element {
|
export function GroupListBox({viewSet}: GroupListBoxProps): JSX.Element {
|
||||||
const instance = useInstanceContext()
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Box>
|
<Box>
|
||||||
<Heading level={3}>
|
<Heading level={3}>
|
||||||
Research groups on {instance?.state.details?.name}
|
Research groups
|
||||||
</Heading>
|
</Heading>
|
||||||
<p>
|
<p>
|
||||||
Research groups are groups of people that work together on one or more research projects.
|
Research groups are groups of people that work together on one or more research projects.
|
||||||
|
|
Loading…
Reference in a new issue