Dont do socket on non-newt sites

This commit is contained in:
Owen 2025-06-04 16:02:45 -04:00
parent 58a2a9dcc9
commit df4da75c57
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
6 changed files with 45 additions and 66 deletions

View file

@ -68,8 +68,9 @@ export const ContainersSelector: FC<ContainerSelectorProps> = ({
}) => {
const [open, setOpen] = useState(false);
const isDesktop = useMediaQuery("(min-width: 768px)");
const { isAvailable, containers, fetchContainers } = useDockerSocket(
site.siteId
site
);
useEffect(() => {