aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package-lock.json22
-rw-r--r--package.json3
-rw-r--r--src/console/components/console/message.jsx2
3 files changed, 2 insertions, 25 deletions
diff --git a/package-lock.json b/package-lock.json
index 45497fa..8a03588 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1168,16 +1168,6 @@
"babel-plugin-transform-flow-strip-types": "^6.22.0"
}
},
- "babel-preset-preact": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/babel-preset-preact/-/babel-preset-preact-1.1.0.tgz",
- "integrity": "sha1-NaxlWnOkm4Q4FjzgU4Fld+GYCGE=",
- "dev": true,
- "requires": {
- "babel-plugin-syntax-jsx": "^6.0.2",
- "babel-plugin-transform-react-jsx": "^6.0.2"
- }
- },
"babel-preset-react": {
"version": "6.24.1",
"resolved": "https://registry.npmjs.org/babel-preset-react/-/babel-preset-react-6.24.1.tgz",
@@ -8443,18 +8433,6 @@
"integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
"dev": true
},
- "preact": {
- "version": "8.4.2",
- "resolved": "https://registry.npmjs.org/preact/-/preact-8.4.2.tgz",
- "integrity": "sha512-TsINETWiisfB6RTk0wh3/mvxbGRvx+ljeBccZ4Z6MPFKgu/KFGyf2Bmw3Z/jlXhL5JlNKY6QAbA9PVyzIy9//A==",
- "dev": true
- },
- "preact-redux": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/preact-redux/-/preact-redux-2.0.3.tgz",
- "integrity": "sha1-lgpTXDImQ801mY8z8MLme8Hn6qs=",
- "dev": true
- },
"prelude-ls": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
diff --git a/package.json b/package.json
index ea3291c..2ab1feb 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,6 @@
"babel-cli": "^6.26.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^7.1.5",
- "babel-preset-preact": "^1.1.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"chai": "^4.2.0",
@@ -43,8 +42,6 @@
"lanthan": "git+https://github.com/ueokande/lanthan.git#master",
"mocha": "^6.1.4",
"node-sass": "^4.12.0",
- "preact": "^8.4.2",
- "preact-redux": "^2.0.3",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^7.0.3",
diff --git a/src/console/components/console/message.jsx b/src/console/components/console/message.jsx
index 0370f01..6c8297f 100644
--- a/src/console/components/console/message.jsx
+++ b/src/console/components/console/message.jsx
@@ -1,3 +1,5 @@
+import React from 'react';
+
export default function Message(props) {
switch (props.mode) {
case 'error':