Speed up when the button shows

This commit is contained in:
Owen
2025-06-03 21:04:08 -04:00
parent f438d2ddbf
commit 17919192e0
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;
}