diff --git a/.eslintrc.js b/.eslintrc.js index 473ec61..3ecaa29 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -18,6 +18,7 @@ module.exports = { "@typescript-eslint/no-redeclare": 0, "@typescript-eslint/no-non-null-assertion": 0, "@typescript-eslint/member-delimiter-style": 0, + "@typescript-eslint/no-var-requires": 0, "no-return-assign": 0, "no-useless-return": 0, "quotes": 0, diff --git a/src/js/components/SurahIndex/index.tsx b/src/js/components/SurahIndex/index.tsx index a7e45d5..df8a73b 100644 --- a/src/js/components/SurahIndex/index.tsx +++ b/src/js/components/SurahIndex/index.tsx @@ -11,7 +11,7 @@ type Props = { locale: Quran.Locale; surahs: Quran.Surah[]; t: TFunction; -} +}; export function SurahIndex({ locale, surahs, t }: Props) { const [theme, setTheme] = useTheme();