Skip to content

Commit

Permalink
Shhhh eslint just one sec
Browse files Browse the repository at this point in the history
  • Loading branch information
abettermap committed Sep 1, 2020
1 parent 205d645 commit 19aa803
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/components/details/DetailsPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,14 @@ const useStyles = makeStyles((theme: Theme) =>
)

// Mongolian, ASL, etc. have URLs to images
const EndoImageWrap: FC<EndoImageComponent> = (props) => {
const classes = useStyles()
const { url: origUrl, alt } = props
const url = correctDropboxURL(origUrl)

return <img src={url} alt={alt} className={classes.endoImage} />
}
// TODO: put back after testing!
// const EndoImageWrap: FC<EndoImageComponent> = (props) => {
// const classes = useStyles()
// const { url: origUrl, alt } = props
// const url = correctDropboxURL(origUrl)

// return <img src={url} alt={alt} className={classes.endoImage} />
// }

const RandomLink: FC = () => {
const { state } = useContext(GlobalContext)
Expand Down

0 comments on commit 19aa803

Please sign in to comment.