make getServerlog function as dependencies hooks
This commit is contained in:
parent
3a3d7cb988
commit
005c47f0ae
@ -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({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user