import './site.scss'; import React from 'react'; import PropTypes from 'prop-types'; import * as settingActions from 'settings/actions/setting'; import { validate } from 'shared/validators/setting'; class SettingsComponent extends React.Component { constructor(props, context) { super(props, context); this.state = { settings: { json: '', } }; this.context.store.subscribe(this.stateChanged.bind(this)); } componentDidMount() { this.context.store.dispatch(settingActions.load()); } stateChanged() { let settings = this.context.store.getState(); this.setState({ settings }); } render() { return (

Configure Vim-Vixen