aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/footer.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/js/components/footer.js')
-rw-r--r--web/src/js/components/footer.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/src/js/components/footer.js b/web/src/js/components/footer.js
index 229d691b..415c2577 100644
--- a/web/src/js/components/footer.js
+++ b/web/src/js/components/footer.js
@@ -1,8 +1,8 @@
-var React = require("react");
-var common = require("./common.js");
+import React from "react";
+import {SettingsState} from "./common.js";
var Footer = React.createClass({
- mixins: [common.SettingsState],
+ mixins: [SettingsState],
render: function () {
var mode = this.state.settings.mode;
var intercept = this.state.settings.intercept;
@@ -16,4 +16,4 @@ var Footer = React.createClass({
}
});
-module.exports = Footer; \ No newline at end of file
+export default Footer; \ No newline at end of file