diff --git a/new-log-viewer/src/contexts/StateContextProvider.tsx b/new-log-viewer/src/contexts/StateContextProvider.tsx index 84e1e070..e5348170 100644 --- a/new-log-viewer/src/contexts/StateContextProvider.tsx +++ b/new-log-viewer/src/contexts/StateContextProvider.tsx @@ -245,7 +245,7 @@ const StateContextProvider = ({children}: StateContextProviderProps) => { const loadPage = (newPageNum: number) => { if (null === mainWorkerRef.current) { console.error("Unexpected null mainWorkerRef.current"); - + return; } workerPostReq(mainWorkerRef.current, WORKER_REQ_CODE.LOAD_PAGE, {