mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 00:05:15 +00:00
clearInterval
This commit is contained in:
parent
237c621182
commit
715c717dfd
|
@ -61,8 +61,10 @@ export default function SaveConfigAndRestart({onBack, onRestarted}) {
|
|||
setResponse(resp);
|
||||
|
||||
setupRestart((resp) => {
|
||||
setInterval(function() {
|
||||
let t
|
||||
t = setInterval(function() {
|
||||
ping(() => {
|
||||
clearInterval(t)
|
||||
push("/");
|
||||
})
|
||||
}, 1000);
|
||||
|
|
Loading…
Reference in New Issue
Block a user