From d65a0491a1bad3b6d20d8ce04582a41362456d65 Mon Sep 17 00:00:00 2001 From: ChaotiCryptidz Date: Thu, 2 Jun 2022 16:35:51 +0100 Subject: [PATCH] button --- src/foodTypeToggles.tsx | 4 ++-- src/mainPage.tsx | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/foodTypeToggles.tsx b/src/foodTypeToggles.tsx index bf242ad..55334f1 100644 --- a/src/foodTypeToggles.tsx +++ b/src/foodTypeToggles.tsx @@ -103,7 +103,7 @@ export class FoodTypeToggles extends Component<{ render(): JSX.Element { return (
-

Toggles

+

Toggles

Broad Toggles

- diff --git a/src/mainPage.tsx b/src/mainPage.tsx index c376b8f..8507b57 100644 --- a/src/mainPage.tsx +++ b/src/mainPage.tsx @@ -24,7 +24,6 @@ export class SettingsBlock extends Component { onFontChange() { if (!this.fontSettingSelectRef.current) return; let newFont = this.fontSettingSelectRef.current.value; - console.log(newFont); for (let font of FONT_TYPES) { document.body.removeAttribute(`data-font-${font[1]}`) @@ -41,7 +40,6 @@ export class SettingsBlock extends Component { @@ -61,8 +59,12 @@ export class MainPage extends Component

Chaos's Food Likes/Dislikes

a hopefully helpful guide on what food we like?

+
+ +
+ { this.setState({ toggles }); }} />