Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
Fix group version sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
ericvicenti committed Dec 7, 2023
1 parent 1779ddd commit ad9266d
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions frontend/packages/app/pages/group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export default function GroupPage() {
const group = useGroup(groupId, version, {
// refetchInterval: 5_000,
})
const latestGroup = useGroup(groupId, undefined, {})
const groupContent = useFullGroupContent(groupId, version)
const latestGroupContent = useGroupContent(groupId)
// const groupMembers = useGroupMembers(groupId, version)
Expand Down Expand Up @@ -430,6 +431,7 @@ export default function GroupPage() {
<EntityVersionsAccessory
id={entityId}
activeVersion={group.data?.version}
variantVersion={latestGroup.data?.version}
/>
) : null}
</Allotment>
Expand Down Expand Up @@ -1093,15 +1095,3 @@ const TagInputItemContent = forwardRef<any, any>(
)
},
)

const CustomInput = forwardRef(function CustomInput(props, ref) {
return (
<Input
ref={ref}
flex={1}
width="100%"
borderColor="transparent"
{...props}
/>
)
})

0 comments on commit ad9266d

Please sign in to comment.