Skip to content

Commit 81f5dd0

Browse files
author
Michael Dijkstra
committed
Wrap div that gets moved in an extra div
1 parent b98f0a7 commit 81f5dd0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/components/Messenger/index.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const CustomerChat = memo(
5656
greeting_dialog_delay: greetingDialogDelay
5757
}
5858

59-
return <div className="fb-customerchat" {...fields} />
59+
return <div><div className="fb-customerchat" {...fields} /></div>
6060
}
6161
)
6262

@@ -99,9 +99,7 @@ const Messenger = ({ color = '', ...props }: Props): JSX.Element => {
9999
return (
100100
<>
101101
<CustomerChat color={color} providerKey={providerKey} {...props} />
102-
<div>
103-
<Widget color={color} />
104-
</div>
102+
<Widget color={color} />
105103
</>
106104
)
107105
}

0 commit comments

Comments
 (0)