mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(UI): minimize the fixed contents upper the editor (#54978)
This commit is contained in:
@@ -7,6 +7,7 @@ import FourOhFourPage from '../../src/pages/404';
|
||||
interface LayoutSelectorProps {
|
||||
element: JSX.Element;
|
||||
props: {
|
||||
data: { challengeNode?: { challenge?: { usesMultifileEditor?: boolean } } };
|
||||
location: { pathname: string };
|
||||
pageContext?: { challengeMeta?: { block?: string; superBlock?: string } };
|
||||
};
|
||||
@@ -37,6 +38,9 @@ export default function layoutSelector({
|
||||
pathname={pathname}
|
||||
showFooter={false}
|
||||
isChallenge={true}
|
||||
usesMultifileEditor={
|
||||
props.data?.challengeNode?.challenge?.usesMultifileEditor
|
||||
}
|
||||
block={props.pageContext?.challengeMeta?.block}
|
||||
superBlock={props.pageContext?.challengeMeta?.superBlock}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user