From c2bfa7b318ff8a12d830ac5e5f877690072e4ba1 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Fri, 15 Jan 2021 21:27:58 +0100 Subject: [PATCH] Fixed the history toggle (Thanks to Vafin) --- ChangeLog.md | 3 +++ shared/js/ui/modal/connect/Renderer.tsx | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 8473444c..ae47dce3 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,4 +1,7 @@ # Changelog: +* **15.01.21** + - Fixed the history toggle (Thanks to Vafin) + * **12.01.21** - Fixed bug where the quick video select popup did not start the video broadcasting - Fixed a bug where an invalid H264 codec may caused video connection setup failure diff --git a/shared/js/ui/modal/connect/Renderer.tsx b/shared/js/ui/modal/connect/Renderer.tsx index cf74ca7d..6b8cfa06 100644 --- a/shared/js/ui/modal/connect/Renderer.tsx +++ b/shared/js/ui/modal/connect/Renderer.tsx @@ -185,7 +185,7 @@ const ConnectContainer = () => ( ); const ButtonToggleHistory = () => { - const state = useProperty("historyShown", false); + const [state] = useProperty("historyShown", false); const events = useContext(EventContext); let body; @@ -411,7 +411,7 @@ const HistoryTable = () => { } const HistoryContainer = () => { - const historyShown = useProperty("historyShown", false); + const [historyShown] = useProperty("historyShown", false); return (