refactor: wrap socket.io client to RealtimeClient class

Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
Raccoon 2020-04-14 13:12:02 +08:00
parent 442a6d53dc
commit d4bfd173aa
No known key found for this signature in database
GPG Key ID: 06770355DC9ECD38

View File

@ -21,6 +21,8 @@ import Idle from '@hackmd/idle-js'
import { Spinner } from 'spin.js'
import io from 'socket.io-client'
import {
checkLoginStateChanged,
setloginStateChangeEvent