Skip to content

Commit

Permalink
fix(ui): fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ncarlier committed Jun 9, 2019
1 parent d4fef65 commit daa1e34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/articles/components/ArticleImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ interface Props {
src: string
}

const proxifyImageURL = (url: string, width: number) => `${API_BASE_URL}/img?url=${encodeURIComponent(url)}&width=${width}`
const proxifyImageURL = (url: string, width: number) =>
`${API_BASE_URL}/img?url=${encodeURIComponent(url)}&width=${width}`

export default ({ src }: Props) => {
const mobileDisplay = useMedia('(max-width: 767px)')
Expand Down

0 comments on commit daa1e34

Please sign in to comment.