diff --git a/pkg/interface/src/views/components/Body.tsx b/pkg/interface/src/views/components/Body.tsx index 4e2e64203f..2f28d7c8d2 100644 --- a/pkg/interface/src/views/components/Body.tsx +++ b/pkg/interface/src/views/components/Body.tsx @@ -5,7 +5,7 @@ import { Box } from '@tlon/indigo-react'; export function Body( props: { children: ReactNode } & Parameters[0] ) { - const { children, ...boxProps } = props; + const { children, border, ...boxProps } = props; return ( - {props.children} + {children} ); diff --git a/pkg/interface/src/views/components/GroupSearch.tsx b/pkg/interface/src/views/components/GroupSearch.tsx index 870b08902c..fe887e17e7 100644 --- a/pkg/interface/src/views/components/GroupSearch.tsx +++ b/pkg/interface/src/views/components/GroupSearch.tsx @@ -41,6 +41,7 @@ const Candidate = ({ title, selected, onClick }): ReactElement => ( +
- {Boolean(text) && {text}} + {Boolean(text) && {text}}
); diff --git a/pkg/interface/src/views/components/ShipSearch.tsx b/pkg/interface/src/views/components/ShipSearch.tsx index f1687f1f79..7b1f181a98 100644 --- a/pkg/interface/src/views/components/ShipSearch.tsx +++ b/pkg/interface/src/views/components/ShipSearch.tsx @@ -78,6 +78,7 @@ const Candidate = ({ title, detail, selected, onClick }): ReactElement => ( bg="white" color="black" fontSize={0} + cursor="pointer" p={1} width="100%" > diff --git a/pkg/interface/src/views/landscape/components/ChannelPopoverRoutes/ChannelPermissions.tsx b/pkg/interface/src/views/landscape/components/ChannelPopoverRoutes/ChannelPermissions.tsx index 5ccccd4067..f84cf69c31 100644 --- a/pkg/interface/src/views/landscape/components/ChannelPopoverRoutes/ChannelPermissions.tsx +++ b/pkg/interface/src/views/landscape/components/ChannelPopoverRoutes/ChannelPermissions.tsx @@ -151,7 +151,7 @@ export function GraphPermissions(props: GraphPermissionsProps) { } }; - const schema = formSchema(Array.from(group.members)); + const schema = formSchema(Array.from(group?.members ?? [])); return ( { const [,,,name] = association.resource.split('/'); - await api.graph.deleteGraph(name); - history.push(props.baseUrl); + api.graph.deleteGraph(name); + return history.push(props.rootUrl); }; const canAdmin = isChannelAdmin(group, association.resource); diff --git a/pkg/interface/src/views/landscape/components/GroupsPane.tsx b/pkg/interface/src/views/landscape/components/GroupsPane.tsx index 2ba691b85a..bffa328ae3 100644 --- a/pkg/interface/src/views/landscape/components/GroupsPane.tsx +++ b/pkg/interface/src/views/landscape/components/GroupsPane.tsx @@ -206,7 +206,7 @@ export function GroupsPane(props: GroupsPaneProps) { resource={groupAssociation.group} />; } else { - summary = ( + summary = ( Create or select a channel to get started ); }