From adef3fc11b0bc146592901b373ff59c5310b405e Mon Sep 17 00:00:00 2001 From: dippas Date: Mon, 12 Jun 2023 05:06:48 +0100 Subject: [PATCH] fix build errors --- .../Deletenonio/{DeleteNonio.ts => DeleteNonio.tsx} | 6 +++++- src/components/Popup/{popup.module.css => Popup.module.css} | 0 2 files changed, 5 insertions(+), 1 deletion(-) rename src/components/Deletenonio/{DeleteNonio.ts => DeleteNonio.tsx} (82%) rename src/components/Popup/{popup.module.css => Popup.module.css} (100%) diff --git a/src/components/Deletenonio/DeleteNonio.ts b/src/components/Deletenonio/DeleteNonio.tsx similarity index 82% rename from src/components/Deletenonio/DeleteNonio.ts rename to src/components/Deletenonio/DeleteNonio.tsx index 9c8594f..fbe2222 100644 --- a/src/components/Deletenonio/DeleteNonio.ts +++ b/src/components/Deletenonio/DeleteNonio.tsx @@ -3,10 +3,14 @@ import { removeCookies } from '../../helpers/removeCookies'; import { elementsToRemove } from '../../helpers/elementsToRemove'; import { isNonioSite } from '../../helpers/sites'; -export const DeleteNonio = () => { +const DeleteNonio = () => { if (isNonioSite) { removeCookies(); enableScrollbar(); elementsToRemove(); } + + return null; }; + +export default DeleteNonio; diff --git a/src/components/Popup/popup.module.css b/src/components/Popup/Popup.module.css similarity index 100% rename from src/components/Popup/popup.module.css rename to src/components/Popup/Popup.module.css