From 890eba2ffd64245a02152c394d02a17a6bed1d43 Mon Sep 17 00:00:00 2001 From: Arjan Frans Date: Fri, 20 Oct 2023 17:54:30 +0200 Subject: [PATCH] fix toggle --- package-lock.json | 4 ++-- package.json | 2 +- src/DisplayControl.tsx | 6 +++++- src/Scoreboard.tsx | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4b0380a..6728c2e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "hardbulls-livestream", + "name": "@hardbulls/livestream-control", "version": "0.5.1", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "hardbulls-livestream", + "name": "@hardbulls/livestream-control", "version": "0.5.1", "license": "UNLICENSED", "dependencies": { diff --git a/package.json b/package.json index 960fc1c..3f9bb10 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@hardbulls/livestream-control", "description": "Hard Bulls Livestreaming Tool", - "version": "0.5.1", + "version": "0.5.2", "type": "module", "private": true, "author": { diff --git a/src/DisplayControl.tsx b/src/DisplayControl.tsx index 3022684..1454381 100644 --- a/src/DisplayControl.tsx +++ b/src/DisplayControl.tsx @@ -43,7 +43,11 @@ export const DisplayControl = ({ handleChange, displaySettings}: Props) => { handleChange("hideBases", !displaySettings.hideBases)} /> + + handleChange("hideBases", !displaySettings.hideBases)} + /> } label="Show Bases" /> diff --git a/src/Scoreboard.tsx b/src/Scoreboard.tsx index 6196d6d..bf00984 100644 --- a/src/Scoreboard.tsx +++ b/src/Scoreboard.tsx @@ -33,7 +33,7 @@ export const Scoreboard = ({ state, scoreboard }: Props) => { return (