fix: move lamassu app to separate folder
This commit is contained in:
parent
ce3c4167a4
commit
c3f8f98c26
2 changed files with 6 additions and 6 deletions
|
|
@ -5,7 +5,7 @@ import * as serviceWorker from './serviceWorker'
|
||||||
|
|
||||||
function importBuildTarget() {
|
function importBuildTarget() {
|
||||||
if (process.env.REACT_APP_BUILD_TARGET === 'LAMASSU') {
|
if (process.env.REACT_APP_BUILD_TARGET === 'LAMASSU') {
|
||||||
return import('./App')
|
return import('./lamassu/App')
|
||||||
} else if (process.env.REACT_APP_BUILD_TARGET === 'PAZUZ') {
|
} else if (process.env.REACT_APP_BUILD_TARGET === 'PAZUZ') {
|
||||||
return import('./pazuz/App')
|
return import('./pazuz/App')
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -21,11 +21,11 @@ import Sidebar from 'src/components/layout/Sidebar'
|
||||||
import TitleSection from 'src/components/layout/TitleSection'
|
import TitleSection from 'src/components/layout/TitleSection'
|
||||||
import ApolloProvider from 'src/utils/apollo'
|
import ApolloProvider from 'src/utils/apollo'
|
||||||
|
|
||||||
import Header from './components/layout/Header'
|
import Header from '../components/layout/Header'
|
||||||
import { tree, hasSidebar, Routes, getParent } from './routing/routes'
|
import { tree, hasSidebar, Routes, getParent } from '../routing/routes'
|
||||||
import global from './styling/global'
|
import global from '../styling/global'
|
||||||
import theme from './styling/theme'
|
import theme from '../styling/theme'
|
||||||
import { backgroundColor, mainWidth } from './styling/variables'
|
import { backgroundColor, mainWidth } from '../styling/variables'
|
||||||
|
|
||||||
if (process.env.NODE_ENV !== 'production') {
|
if (process.env.NODE_ENV !== 'production') {
|
||||||
const whyDidYouRender = require('@welldone-software/why-did-you-render')
|
const whyDidYouRender = require('@welldone-software/why-did-you-render')
|
||||||
Loading…
Add table
Add a link
Reference in a new issue