From 3ee4d49d0598deb8bcf9504c5a53e5f6537e9028 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sun, 5 Sep 2021 20:00:07 +0200 Subject: [PATCH] Fix linting issues --- .eslintrc | 7 ++++++- components/custom-ad.tsx | 36 ++++++++++++++++-------------------- 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/.eslintrc b/.eslintrc index 03aac5786..6346c13bb 100644 --- a/.eslintrc +++ b/.eslintrc @@ -8,6 +8,11 @@ "@next/next/no-img-element": [ "off" ], - "react/display-name": ["off"] + "react/display-name": [ + "off" + ], + "react/jsx-no-target-blank": [ + "off" + ] } } diff --git a/components/custom-ad.tsx b/components/custom-ad.tsx index 76483d2d1..c883062d1 100644 --- a/components/custom-ad.tsx +++ b/components/custom-ad.tsx @@ -1,37 +1,33 @@ export const CustomAd = () => { return ( -
+