From 9bcaf516e12899a14361d57aedd25fa8ebf3dfa6 Mon Sep 17 00:00:00 2001 From: Lester <55822214+lester-001@users.noreply.github.com> Date: Tue, 29 Nov 2022 08:52:25 +0800 Subject: [PATCH] undefine this._setting when I summit setting, there is an error "undefine _setting" occur. Change _setting to setting. --- src/App.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.jsx b/src/App.jsx index 5f899479..957ac41d 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -368,7 +368,7 @@ function App(props) { codec, isDevMode, }; - reactLocalStorage.setObject("settings", this._settings); + reactLocalStorage.setObject("settings", settings); }; const onSendMessage = (msg) => {