UNPKG

nodebb-plugin-l24u-lk

Version:

This is lk for l24u.ru

13 lines (11 loc) 339 B
import { gotParams } from './simple-actions'; import SocketService from '../service/socket-service'; export default function () { return (dispatch, getState) => { SocketService.getParams((error, params) => { if (!error) { dispatch(gotParams(params)); } }); }; }