chore(site): refactor popover to make it easier to extend (#13611)

This commit is contained in:
Bruno Quaresma
2024-06-21 11:15:37 -03:00
committed by GitHub
parent 714f2ef83c
commit cbdaa63b68
18 changed files with 216 additions and 235 deletions
@@ -56,7 +56,7 @@ export const WorkspaceOutdatedTooltipContent: FC<TooltipProps> = ({
const popover = usePopover();
const { data: activeVersion } = useQuery({
...templateVersion(latestVersionId),
enabled: popover.isOpen,
enabled: popover.open,
});
const theme = useTheme();