diff --git a/src/containers/App/components/Navbar/Navbar.tsx b/src/containers/App/components/Navbar/Navbar.tsx index 47893e22f10591bff4afe23c4484e9dfeac7db0b..26cfb9d3137706357ef85a6dc756539b77e922ba 100644 --- a/src/containers/App/components/Navbar/Navbar.tsx +++ b/src/containers/App/components/Navbar/Navbar.tsx @@ -10,7 +10,13 @@ const NavLink = (props: { link: string, name: string }): JSX.Element => { const isActive = useLocation().pathname.includes(link) return ( <li> - <Link to={link} className={clsx('text-lg lg:text-2xl font-light mx-3', isActive && 'border-b-2 pb-1')}> + <Link + to={link} + className={clsx( + 'text-lg lg:text-2xl font-light mx-3', + isActive && 'border-b-2 pb-1' + )} + > {name} </Link> </li> diff --git a/src/containers/Landing/Quotes/Quotes.tsx b/src/containers/Landing/Quotes/Quotes.tsx index f37c086cc5b7b1e2d0cc4a5573892c3f1e50c818..bfcef940fe9196b1f9966f2c6101dfe9aadc303c 100644 --- a/src/containers/Landing/Quotes/Quotes.tsx +++ b/src/containers/Landing/Quotes/Quotes.tsx @@ -68,9 +68,8 @@ const Quote = (props: QuoteProps): JSX.Element => { const Quotes = (): JSX.Element => { return ( - // @ts-ignore + // @ts-expect-error <Carousel showArrows> - {/*@ts-ignore*/} {quotes.map((speakerId) => { const quoteInfo = getSpeakerById(speakerId) if (quoteInfo?.quote !== undefined) { diff --git a/src/containers/Module/Module.tsx b/src/containers/Module/Module.tsx index 13eb428b78b892646f055834429f4ec6777c6785..d226ab4b8e80d575c90da356dc057a0d1f9c5c67 100644 --- a/src/containers/Module/Module.tsx +++ b/src/containers/Module/Module.tsx @@ -11,7 +11,7 @@ import { ButtonType, ButtonVariant } from '../../components/Button/Button' import { Playlist, PlaylistItem } from '../../state/module/moduleModel' import Modal from '../../components/Modal' -import "external-svg-loader"; +import 'external-svg-loader' type FetchPlaylist = typeof import('../../state/module/moduleActions').fetchPlaylist @@ -118,9 +118,9 @@ const Module = (props: ModuleProps): JSX.Element => { onClick={() => handleVideoClick(item)} > <svg - data-src="https://static.igem.io/academy/play.svg" - fill="currentColor" - className="w-10 h-10" + data-src='https://static.igem.io/academy/play.svg' + fill='currentColor' + className='w-10 h-10' /> </Button> <div className='text-lg '>