Skip to content

Commit

Permalink
Merge branch 'page' of github.com:davemarco/yscope-log-viewer-fork in…
Browse files Browse the repository at this point in the history
…to page
  • Loading branch information
davemarco committed Oct 1, 2024
2 parents d8b32ea + 808a7e1 commit a55a3c8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions new-log-viewer/src/contexts/StateContextProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ const StateContextProvider = ({children}: StateContextProviderProps) => {
handleMainWorkerResp,
]);


const loadPageByAction = useCallback((navAction: NavigationAction) => {
if (null === mainWorkerRef.current) {
console.error("Unexpected null mainWorkerRef.current");
Expand Down Expand Up @@ -316,8 +315,6 @@ const StateContextProvider = ({children}: StateContextProviderProps) => {
// On `logEventNum` update, clamp it then switch page if necessary or simply update the URL.
useEffect(() => {
if (null === mainWorkerRef.current) {
console.error("Unexpected null mainWorkerRef.current");

return;
}

Expand Down

0 comments on commit a55a3c8

Please sign in to comment.