Add Uptime to Activity Panel

This commit is contained in:
Deluan
2020-11-13 18:40:33 -05:00
parent b64bb706f7
commit 08f96639f4
9 changed files with 118 additions and 35 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ import createAdminStore from './store/createAdminStore'
import { i18nProvider } from './i18n'
import config from './config'
import { startEventStream } from './eventStream'
import { processEvent } from './actions'
const history = createHashHistory()
if (config.gaTrackingId) {
@@ -60,7 +60,7 @@ const App = () => (
const Admin = (props) => {
const dispatch = useDispatch()
if (config.devActivityMenu) {
startEventStream((data) => dispatch(processEvent(data)))
startEventStream(dispatch)
}
return (