Skip to content

Commit 43ebb53

Browse files
authored
Use clampedLogEventNum when request for a new page - Apply suggestions from code review
1 parent b07cf05 commit 43ebb53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/AppController.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ const AppController = ({children}: AppControllerProps) => {
138138
(async () => {
139139
const cursor: CursorType = {
140140
code: CURSOR_CODE.EVENT_NUM,
141-
args: {eventNum: logEventNum},
141+
args: {eventNum: clampedLogEventNum},
142142
};
143143
const pageData = await logFileManagerProxy.loadPage(cursor, isPrettifiedRef.current);
144144
updatePageData(pageData);

0 commit comments

Comments
 (0)