Speed up when the button shows

This commit is contained in:
Owen 2025-06-03 21:04:08 -04:00
parent f438d2ddbf
commit 17919192e0
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
3 changed files with 10 additions and 19 deletions

View file

@ -78,12 +78,6 @@ export const ContainersSelector: FC<ContainerSelectorProps> = ({
}
}, [isAvailable]);
useEffect(() => {
if (isAvailable && containers.length === 0) {
fetchContainers();
}
}, [isAvailable, containers.length]);
if (!site || !isAvailable) {
return null;
}