diff --git a/static/js/ui.js b/static/js/ui.js index a20d80981f..40f8676848 100644 --- a/static/js/ui.js +++ b/static/js/ui.js @@ -1,6 +1,6 @@ "use strict"; -const SimpleBar = require("simplebar/dist/simplebar"); +const SimpleBar = require("simplebar").default; // What, if anything, obscures the home tab? diff --git a/tools/webpack.assets.json b/tools/webpack.assets.json index 7312afe306..09d8c84090 100644 --- a/tools/webpack.assets.json +++ b/tools/webpack.assets.json @@ -49,7 +49,7 @@ "help": [ "./static/js/bundles/portico", "simplebar/dist/simplebar.css", - "simplebar/dist/simplebar", + "simplebar", "./static/js/portico/help", "./static/js/portico/tabbed-instructions" ],