Skip to content

Commit

Permalink
Merge pull request #117 from ML-Leonardo/slick-CSS-conflict
Browse files Browse the repository at this point in the history
Slick css conflict
  • Loading branch information
JWandrocke authored and GitHub Enterprise committed Aug 27, 2021
2 parents 43b5364 + 682da7c commit 12fb9d6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ml-cai-webchat",
"version": "1.4.39",
"version": "1.4.40",
"description": "",
"main": "lib/index.js",
"scripts": {
Expand Down
14 changes: 2 additions & 12 deletions src/containers/App/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const NO_LOCALSTORAGE_MESSAGE
removeAllMessages,
},
)

class App extends Component {
state = {
expanded: this.props.expanded || false,
Expand Down Expand Up @@ -90,7 +91,7 @@ class App extends Component {
}

componentDidUpdate (prevProps, prevState) {
const { onToggle, conversationHistoryId } = this.props
const { onToggle } = this.props

if (prevState.expanded !== this.state.expanded) {
if (window.localStorage) {
Expand Down Expand Up @@ -146,17 +147,6 @@ class App extends Component {

return (
<div className='RecastApp CaiApp'>
{/* <link
rel='stylesheet'
type='text/css'
href='https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css'
/>
<link
rel='stylesheet'
type='text/css'
href='https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css'
/> */}

<Expander
show={!expanded}
onClick={this.toggleChat}
Expand Down

0 comments on commit 12fb9d6

Please sign in to comment.