remove unused
This commit is contained in:
1 parent
786c803847
commit
cdd4953e03
3 files changed
+6
-10
No files matched your search
@@ -34,12 +34,11 @@ const DockerDetailsPage = ({ open = "overview" }: DockerContainerDetailsProps) =
|
||||
? `/monitors/docker/details/${monitorId}/containers/${containerName}?dateRange=${dateRange}`
|
||||
: null;
|
||||
|
||||
const { data: containerData, refetch: refetchContainer } =
|
||||
useGet<DockerContainerResponse>(
|
||||
containerDetailsUrl,
|
||||
{},
|
||||
{ refreshInterval: 10000, keepPreviousData: true }
|
||||
);
|
||||
const { data: containerData } = useGet<DockerContainerResponse>(
|
||||
containerDetailsUrl,
|
||||
{},
|
||||
{ refreshInterval: 10000, keepPreviousData: true }
|
||||
);
|
||||
|
||||
const monitor = containerData?.monitor;
|
||||
if (!monitor) return null;
|
||||
|
||||
Reference in new issue
Block a user