aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/background/domains/Completions.js6
-rw-r--r--webpack.config.js2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/background/domains/Completions.js b/src/background/domains/Completions.js
index 4e4219f..f399743 100644
--- a/src/background/domains/Completions.js
+++ b/src/background/domains/Completions.js
@@ -19,9 +19,9 @@ export default class Completions {
}));
}
- static EMPTY_COMPLETIONS = new Completions([]);
-
static empty() {
- return Completions.EMPTY_COMPLETIONS;
+ return EMPTY_COMPLETIONS;
}
}
+
+let EMPTY_COMPLETIONS = new Completions([]);
diff --git a/webpack.config.js b/webpack.config.js
index 9694fd5..d9c60cc 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -24,7 +24,7 @@ config = {
exclude: /node_modules/,
loader: 'babel-loader',
query: {
- presets: ['react', 'stage-2']
+ presets: ['@babel/react']
}
},
{