Skip to content

Commit

Permalink
fix: remove unnecessary empty div tag when chat is hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
marianzburlea committed Aug 3, 2019
1 parent e685bdd commit a48a6b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/component/app/app.component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export const CodeTapAcademy = () => {
return (
<StyledApp showWidgetBot={toggleChat}>
<WebInfo />
<StyledWidgetWrapper>
{toggleChat && <WidgetBot
{toggleChat && <StyledWidgetWrapper>
<WidgetBot
server="591067148403867650"
channel="591067149108379692"
shard="https://disweb.deploys.io"
Expand All @@ -22,8 +22,8 @@ export const CodeTapAcademy = () => {
color="#d52027"
width="100%"
height="100%"
/>}
</StyledWidgetWrapper>
/>
</StyledWidgetWrapper>}
</StyledApp>
)
}

0 comments on commit a48a6b5

Please sign in to comment.