From 5f5eb60c02e835ab70e14a12546e5c4cfad9f761 Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Sun, 13 Sep 2020 17:43:22 +0100 Subject: [PATCH] Cleanup, and ally stuff --- src/components/LinkPreview.tsx | 1 - src/components/StyledCheckbox.tsx | 2 +- src/components/Toggle.tsx | 2 +- src/contexts/HSContext.ts | 2 -- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/LinkPreview.tsx b/src/components/LinkPreview.tsx index 618de53..4d0b9da 100644 --- a/src/components/LinkPreview.tsx +++ b/src/components/LinkPreview.tsx @@ -119,7 +119,6 @@ const LinkPreview: React.FC = ({ link }: IProps) => { const [showHSOptions, setShowHSOPtions] = useState(false); const hses = useHSs(link); - console.log(hses); if (!hses) { content = ( diff --git a/src/components/StyledCheckbox.tsx b/src/components/StyledCheckbox.tsx index cd39a37..9450f4e 100644 --- a/src/components/StyledCheckbox.tsx +++ b/src/components/StyledCheckbox.tsx @@ -32,7 +32,7 @@ const StyledCheckbox: React.FC = ({ {/* Using the div to center the image */}
- +
{children} diff --git a/src/components/Toggle.tsx b/src/components/Toggle.tsx index eba1952..1e34d31 100644 --- a/src/components/Toggle.tsx +++ b/src/components/Toggle.tsx @@ -28,7 +28,7 @@ const Toggle: React.FC = ({ children, ...props }: IProps) => ( ); diff --git a/src/contexts/HSContext.ts b/src/contexts/HSContext.ts index c6b5201..e19ff60 100644 --- a/src/contexts/HSContext.ts +++ b/src/contexts/HSContext.ts @@ -68,8 +68,6 @@ export const INITIAL_STATE: State = { }; export const unpersistedReducer = (state: State, action: Action): State => { - console.log('reducing'); - console.log(action); switch (action.action) { case ActionType.SetAny: return {