diff --git a/client/src/components/layouts/index.ts b/client/src/components/layouts/index.ts deleted file mode 100644 index 73d3ed4107e..00000000000 --- a/client/src/components/layouts/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export { default as CertificationLayout } from './certification'; -export { default as DefaultLayout } from './default'; -export { default as LearnLayout } from './learn'; diff --git a/client/utils/gatsby/layout-selector.tsx b/client/utils/gatsby/layout-selector.tsx index cabfc35fe57..ac9f7df4beb 100644 --- a/client/utils/gatsby/layout-selector.tsx +++ b/client/utils/gatsby/layout-selector.tsx @@ -1,9 +1,7 @@ import React from 'react'; -import { - CertificationLayout, - DefaultLayout -} from '../../src/components/layouts'; +import CertificationLayout from '../../src/components/layouts/certification'; +import DefaultLayout from '../../src/components/layouts/default'; import FourOhFourPage from '../../src/pages/404'; import { isChallenge } from '../../src/utils/path-parsers';