Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Junhao Liao <[email protected]>
  • Loading branch information
davemarco and junhaoliao authored Sep 15, 2024
1 parent ed48751 commit f09580e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions new-log-viewer/src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ import APP_THEME from "./theme";
*
* @return
*/
// eslint-disable-next-line no-warning-comments
// TODO: replace elements in this component once we integrate with a UI framework
// eslint-disable-next-line max-lines-per-function
const Layout = () => {
return (
<CssVarsProvider
Expand Down
2 changes: 0 additions & 2 deletions new-log-viewer/src/components/StatusBar/LogLevelFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ const LogLevelSelect = () => {
const selected: LogLevelFilter =
newValue && newValue.map((value) => Number(value));

console.log(newValue);

setSelectedLogLevels(selected);
changeLogLevelFilter(selected);
};
Expand Down
2 changes: 1 addition & 1 deletion new-log-viewer/src/typings/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ type WorkerRespMap = {
},
[WORKER_RESP_CODE.VIEW_INFO]: {
firstLogEventNumPerPage: number[],
numFilteredEvents: number,
lastLogEventNumPerPage: number[],
numFilteredEvents: number,
}
};

Expand Down

0 comments on commit f09580e

Please sign in to comment.