mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
refactor: consistent layout imports (#48378)
This commit is contained in:
committed by
GitHub
parent
9266e9fabb
commit
12beeee067
@@ -1,3 +0,0 @@
|
|||||||
export { default as CertificationLayout } from './certification';
|
|
||||||
export { default as DefaultLayout } from './default';
|
|
||||||
export { default as LearnLayout } from './learn';
|
|
||||||
@@ -1,9 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import {
|
import CertificationLayout from '../../src/components/layouts/certification';
|
||||||
CertificationLayout,
|
import DefaultLayout from '../../src/components/layouts/default';
|
||||||
DefaultLayout
|
|
||||||
} from '../../src/components/layouts';
|
|
||||||
import FourOhFourPage from '../../src/pages/404';
|
import FourOhFourPage from '../../src/pages/404';
|
||||||
import { isChallenge } from '../../src/utils/path-parsers';
|
import { isChallenge } from '../../src/utils/path-parsers';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user