Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro-v committed Feb 19, 2024
1 parent 7a21077 commit 71912a3
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions web/containers/ServerLogs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,9 @@ const ServerLogs = (props: ServerLogsProps) => {
updateLogs()

// Log polling interval
const intervalId = setInterval(
() => {
updateLogs()
},
window.core?.api?.pollingInterval ?? 1000
)
const intervalId = setInterval(() => {
updateLogs()
}, window.core?.api?.pollingInterval ?? 1000)

// clean up interval
return () => clearInterval(intervalId)
Expand Down Expand Up @@ -232,4 +229,4 @@ const ServerLogs = (props: ServerLogsProps) => {
)
}

export default ServerLogs
export default ServerLogs

Check failure on line 232 in web/containers/ServerLogs/index.tsx

View workflow job for this annotation

GitHub Actions / test-on-macos

Insert `⏎`

Check failure on line 232 in web/containers/ServerLogs/index.tsx

View workflow job for this annotation

GitHub Actions / test-on-windows (mcafee)

Insert `␍⏎`

0 comments on commit 71912a3

Please sign in to comment.