From 16d600768f51f9592d66db5e3e7b8da7636eae7a Mon Sep 17 00:00:00 2001 From: Muhammad Afaq Shuaib Date: Fri, 20 Dec 2024 12:24:54 +0500 Subject: [PATCH] chore: more changes --- src/components/SitewideBanner/SitewideBanner.test.jsx | 4 ++-- src/components/SitewideBanner/index.jsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/SitewideBanner/SitewideBanner.test.jsx b/src/components/SitewideBanner/SitewideBanner.test.jsx index 076e020a5..55eddc70b 100644 --- a/src/components/SitewideBanner/SitewideBanner.test.jsx +++ b/src/components/SitewideBanner/SitewideBanner.test.jsx @@ -1,7 +1,7 @@ import React from 'react'; import { shallow } from 'enzyme'; -import Cookies from 'js-cookie'; // eslint-disable-line import/no-extraneous-dependencies -import { Alert } from 'react-bootstrap'; // eslint-disable-line import/no-extraneous-dependencies +import Cookies from 'js-cookie'; +import { Alert } from 'react-bootstrap'; import SitewideBanner from './index'; describe('SitewideBanner', () => { diff --git a/src/components/SitewideBanner/index.jsx b/src/components/SitewideBanner/index.jsx index 4e393f40d..715830256 100644 --- a/src/components/SitewideBanner/index.jsx +++ b/src/components/SitewideBanner/index.jsx @@ -36,7 +36,7 @@ const SitewideBanner = ({ ); - } else { + } else { // eslint-disable-line no-else-return return null; } };