diff --git a/libs/bublik/features/run-import/src/lib/import-events-table/import-log.component.tsx b/libs/bublik/features/run-import/src/lib/import-events-table/import-log.component.tsx index c94f51ae..a4ed3124 100644 --- a/libs/bublik/features/run-import/src/lib/import-events-table/import-log.component.tsx +++ b/libs/bublik/features/run-import/src/lib/import-events-table/import-log.component.tsx @@ -2,7 +2,7 @@ /* SPDX-FileCopyrightText: 2021-2023 OKTET Labs Ltd. */ import { ComponentProps, ElementRef, useEffect, useRef } from 'react'; -import { useGetImportLogQuery, usePrefetch } from '@/services/bublik-api'; +import { useGetImportLogQuery } from '@/services/bublik-api'; import { Dialog, DialogClose, @@ -24,11 +24,9 @@ export const JsonLogContainer = ({ taskId, enablePolling }: JsonLogContainerProps) => { - const prefetchLog = usePrefetch('getImportLog'); - return ( - prefetchLog(taskId)}> +