diff --git a/src/discussions/discussions-home/DiscussionsHome.jsx b/src/discussions/discussions-home/DiscussionsHome.jsx index 02619666..dbe25187 100644 --- a/src/discussions/discussions-home/DiscussionsHome.jsx +++ b/src/discussions/discussions-home/DiscussionsHome.jsx @@ -46,7 +46,6 @@ export default function DiscussionsHome() { learnerUsername, } = params; const inContext = new URLSearchParams(location.search).get('inContext') !== null; - const inIframe = new URLSearchParams(location.search).get('inIframe')?.toLowerCase() === 'true'; // Display the content area if we are currently viewing/editing a post or creating one. const displayContentArea = postId || postEditorVisible || (learnerUsername && postId); let displaySidebar = useSidebarVisible(); @@ -82,10 +81,9 @@ export default function DiscussionsHome() { learnerUsername, }} > - {!inIframe &&
} +
- {!inIframe - && } +
- {!inIframe &&