make getServerlog function as dependencies hooks

This commit is contained in:
Faisal Amir 2024-01-15 23:51:59 +07:00
parent 3a3d7cb988
commit 005c47f0ae

View File

@ -61,7 +61,7 @@ const LocalServerScreen = () => {
setLogs(log.split(/\r?\n|\r|\n/g))
// setLogs(JSON.stringify(log, null, 2))
})
}, [])
}, [getServerLog, logs])
// const marked: Marked = new Marked(
// markedHighlight({