aboutsummaryrefslogtreecommitdiff
path: root/src/settings/components/index.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings/components/index.jsx')
-rw-r--r--src/settings/components/index.jsx9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/settings/components/index.jsx b/src/settings/components/index.jsx
index 4418942..bb2045a 100644
--- a/src/settings/components/index.jsx
+++ b/src/settings/components/index.jsx
@@ -1,10 +1,9 @@
import './site.scss';
-import React from 'react';
-import PropTypes from 'prop-types';
+import { h, Component } from 'preact';
import * as settingActions from 'settings/actions/setting';
import * as validator from 'shared/validators/setting';
-class SettingsComponent extends React.Component {
+class SettingsComponent extends Component {
constructor(props, context) {
super(props, context);
@@ -84,8 +83,4 @@ class SettingsComponent extends React.Component {
}
}
-SettingsComponent.contextTypes = {
- store: PropTypes.any,
-};
-
export default SettingsComponent;