diff --git a/.eslintrc.js b/.eslintrc.js index 5af484c53..d7e60f069 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,9 +5,7 @@ module.exports = { 'eslint:recommended', 'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin 'plugin:jsx-a11y/recommended', - 'plugin:react/recommended', - 'plugin:react-hooks/recommended', - 'plugin:react/jsx-runtime', + 'plugin:@next/next/recommended', 'prettier', ], parserOptions: { diff --git a/src/components/Common/Accordion/index.tsx b/src/components/Common/Accordion/index.tsx index 49187bd03..0b434209a 100644 --- a/src/components/Common/Accordion/index.tsx +++ b/src/components/Common/Accordion/index.tsx @@ -1,4 +1,3 @@ -import type * as React from 'react'; import { useState } from 'react'; import AnimateHeight from 'react-animate-height'; diff --git a/src/components/Discover/DiscoverNetwork/index.tsx b/src/components/Discover/DiscoverNetwork/index.tsx index f09fef378..f02ccedd9 100644 --- a/src/components/Discover/DiscoverNetwork/index.tsx +++ b/src/components/Discover/DiscoverNetwork/index.tsx @@ -6,6 +6,7 @@ import globalMessages from '@app/i18n/globalMessages'; import Error from '@app/pages/_error'; import type { TvNetwork } from '@server/models/common'; import type { TvResult } from '@server/models/Search'; +import Image from 'next/image'; import { useRouter } from 'next/router'; import { defineMessages, useIntl } from 'react-intl'; @@ -47,7 +48,7 @@ const DiscoverTvNetwork = () => {
{firstResultData?.network.logoPath ? (
- {firstResultData.network.name} {
{firstResultData?.studio.logoPath ? (
- {firstResultData.studio.name} - { } className="group ml-1 inline-flex h-full items-center xl:ml-1.5" > - { href={`/users/${issue.createdBy.id}`} className="group flex items-center truncate" > - { >
- - Logo - + + Logo +