mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-16 18:06:39 +00:00
Speed up when the button shows
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user