From 51e4053990c14c1ba7dd42e7eb10f271e98b6486 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 7 Oct 2021 18:44:13 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Remove=20instance=20name=20from?= =?UTF-8?q?=20`GroupListBox`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/group/GroupListBox.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/src/components/group/GroupListBox.tsx b/frontend/src/components/group/GroupListBox.tsx index 7330935..e5aec7a 100644 --- a/frontend/src/components/group/GroupListBox.tsx +++ b/frontend/src/components/group/GroupListBox.tsx @@ -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 ( - Research groups on {instance?.state.details?.name} + Research groups

Research groups are groups of people that work together on one or more research projects.