Skip to content

Commit

Permalink
chore(react): format files for linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
vanbasten17 committed Mar 6, 2023
1 parent fbc7b32 commit 1f2e232
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { ROLES } from '../../constants'
import { useComponentVisible } from '../hooks'
import { Icon, IconContainer } from './common'

export const EmojiPicker = props =>{
const onClick = event =>{
export const EmojiPicker = props => {
const onClick = event => {
props.onClick()
event.stopPropagation()
}
Expand All @@ -20,7 +20,7 @@ export const EmojiPicker = props =>{
</div>
</IconContainer>
)
}
}

const Container = styled.div`
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ export class ScrollbarController {
return
}
this.webchat.ontouchmove = e => {
if(e.target === e.currentTarget)
e.preventDefault()
if (e.target === e.currentTarget)
e.preventDefault()
}
}

Expand Down

0 comments on commit 1f2e232

Please sign in to comment.