UNPKG

nodebb-plugin-l24u-lk

Version:

This is lk for l24u.ru

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