diff --git a/app/javascript/src/componentLoader/index.js b/app/javascript/src/componentLoader/index.js index 87e546305..33aa12c08 100644 --- a/app/javascript/src/componentLoader/index.js +++ b/app/javascript/src/componentLoader/index.js @@ -1,6 +1,5 @@ import { createLoader } from 'react-hijack'; -const componentLoader = createLoader((module) => import('' + module)); +const componentLoader = createLoader((module) => import('./components/' + module)); export default componentLoader; -