add alias for state
This commit is contained in:
parent
913f9589e5
commit
64f9c4a387
@ -66,6 +66,7 @@ module.exports = (env, argv, { SRC_DIR, DIST_DIR }) => {
|
||||
),
|
||||
'@hooks': path.resolve(__dirname, '../platform/viewer/src/hooks'),
|
||||
'@routes': path.resolve(__dirname, '../platform/viewer/src/routes'),
|
||||
'@state': path.resolve(__dirname, '../platform/viewer/src/state'),
|
||||
},
|
||||
// Which directories to search when resolving modules
|
||||
modules: [
|
||||
|
||||
@ -5,7 +5,7 @@ import { BrowserRouter, HashRouter } from 'react-router-dom';
|
||||
import { ThemeWrapper } from '@ohif/ui';
|
||||
// Viewer Project
|
||||
// TODO: Should this influence study list?
|
||||
import { appConfigContext } from './state/appConfig.context';
|
||||
import { appConfigContext } from '@state/appConfig.context';
|
||||
import { useAppConfig } from './hooks/useAppConfig';
|
||||
import createRoutes from './routes';
|
||||
import appInit from './appInit.js';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user