Skip to content

Conversation

@charliepark
Copy link
Contributor

We'll likely be using the IpPoolCell in the new Network Gateways page; this extracts it out to its own component.

We were already following the "fetch the list and then seed the ReactQuery cache with relevant data" approach, so this is really just moving the component around.

@vercel
Copy link

vercel bot commented Oct 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Oct 9, 2024 7:48pm

Copy link
Collaborator

@david-crespo david-crespo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Something worth trying: if (!content) return child on line 88 inside Tooltip. That would eliminate the conditional in the cell and seems like it could be useful elsewhere.

const zIndex = usePopoverZIndex()
return (
<>
{child}
<FloatingPortal>
{open && (
<div

@charliepark charliepark enabled auto-merge (squash) October 9, 2024 19:50
@charliepark charliepark merged commit 352c802 into main Oct 9, 2024
@charliepark charliepark deleted the ip-pool-cell branch October 9, 2024 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants