Shared:Components:Article: return part of article body and delete useless console log
This commit is contained in:
parent
4aaf55dcb0
commit
0987d0785f
@ -32,7 +32,7 @@ ArticleMainButton.displayName = MAIN_BUTTON_NAME;
|
||||
const ArticleBody = ({ children }: { children: React.ReactNode }) => null;
|
||||
ArticleBody.displayName = BODY_NAME;
|
||||
|
||||
console.log(SubArticleBody);
|
||||
console.log(ArticleAlerts, ArticleLiveChat);
|
||||
|
||||
const Article = ({
|
||||
showText,
|
||||
@ -241,8 +241,6 @@ const Article = ({
|
||||
!window.location.pathname.includes("management") &&
|
||||
isAdmin;
|
||||
|
||||
console.log(withDevTools, hideAppsBlock, isLiveChatAvailable);
|
||||
|
||||
const articleComponent = (
|
||||
<>
|
||||
<StyledArticle
|
||||
@ -275,9 +273,9 @@ const Article = ({
|
||||
|
||||
<SubArticleBody>
|
||||
{articleBodyContent ? articleBodyContent.props.children : null}
|
||||
{/* {!showArticleLoader && (
|
||||
{!showArticleLoader && (
|
||||
<>
|
||||
{!hideAlerts && (
|
||||
{/* {!hideAlerts && (
|
||||
<ArticleAlerts
|
||||
articleAlertsData={articleAlertsData}
|
||||
showText={showText}
|
||||
@ -296,7 +294,7 @@ const Article = ({
|
||||
setSubmitToGalleryDialogVisible
|
||||
}
|
||||
/>
|
||||
)}
|
||||
)} */}
|
||||
{withDevTools && (
|
||||
<ArticleDevToolsBar
|
||||
articleOpen={articleOpen}
|
||||
@ -308,7 +306,7 @@ const Article = ({
|
||||
{!hideAppsBlock && (
|
||||
<ArticleApps withDevTools={withDevTools} showText={showText} />
|
||||
)}
|
||||
{!isMobile && !isLiveChatAvailable && (
|
||||
{/* {!isMobile && !isLiveChatAvailable && (
|
||||
<ArticleLiveChat
|
||||
currentColorScheme={currentColorScheme}
|
||||
withMainButton={
|
||||
@ -321,9 +319,9 @@ const Article = ({
|
||||
zendeskKey={zendeskKey}
|
||||
showProgress={showProgress}
|
||||
/>
|
||||
)}
|
||||
)} */}
|
||||
</>
|
||||
)} */}
|
||||
)}
|
||||
</SubArticleBody>
|
||||
{!showArticleLoader && (
|
||||
<HideArticleMenuButton
|
||||
|
@ -1,8 +1,6 @@
|
||||
import React from "react";
|
||||
import { Scrollbar } from "../../scrollbar";
|
||||
|
||||
console.log(Scrollbar);
|
||||
|
||||
const ArticleBody = ({ children }: { children: React.ReactNode }) => {
|
||||
return (
|
||||
<Scrollbar
|
||||
|
Loading…
Reference in New Issue
Block a user