From f068821e4c5f7c3ee1be67a34b953c14334bacad Mon Sep 17 00:00:00 2001 From: zigamacele <19758116+zigamacele@users.noreply.github.com> Date: Thu, 27 Apr 2023 22:55:05 +0200 Subject: [PATCH] fixed adding to custom bug, converter for old users --- src/Components/Custom/DisplayCustomList.tsx | 6 +- src/Components/DisplayMyLivers.tsx | 54 +++++++++------- src/Components/DisplayedLiver.tsx | 66 +++++++++++--------- src/Components/DisplayedLiver/LiveStatus.tsx | 6 +- src/Components/SelectLiver.tsx | 6 +- src/Components/Settings/Footer.tsx | 4 +- src/Components/Settings/Selectors.tsx | 3 +- src/layouts/Navigation.tsx | 15 ++--- src/pages/Custom.tsx | 7 +-- src/pages/Home.tsx | 13 +--- src/pages/Settings.tsx | 2 +- src/pages/_app.tsx | 6 +- src/pages/index.tsx | 15 +---- 13 files changed, 89 insertions(+), 114 deletions(-) diff --git a/src/Components/Custom/DisplayCustomList.tsx b/src/Components/Custom/DisplayCustomList.tsx index a6ac798..aad8fbe 100644 --- a/src/Components/Custom/DisplayCustomList.tsx +++ b/src/Components/Custom/DisplayCustomList.tsx @@ -10,10 +10,6 @@ export interface customVTuber { import { XCircleIcon } from '@heroicons/react/24/solid'; export default function DisplayCustomList({ customList }: { customList: any }) { - useEffect(() => { - console.log('updated display', customList); - }, [customList]); - const removeFromCustom = (id: string) => { let tempCustomList = customList; delete tempCustomList[id]; @@ -27,7 +23,7 @@ export default function DisplayCustomList({ customList }: { customList: any }) {