You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by sh...@apache.org on 2024/01/16 02:42:00 UTC

(incubator-answer) branch feat/1.2.5/ui updated: fix: delete console

This is an automated email from the ASF dual-hosted git repository.

shuai pushed a commit to branch feat/1.2.5/ui
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git


The following commit(s) were added to refs/heads/feat/1.2.5/ui by this push:
     new 992bbc5c fix: delete console
992bbc5c is described below

commit 992bbc5c7c6af9c04cea425224c55d0f0436029b
Author: shuai <li...@sifou.com>
AuthorDate: Tue Jan 16 10:41:50 2024 +0800

    fix: delete console
---
 ui/src/pages/Layout/index.tsx | 2 --
 1 file changed, 2 deletions(-)

diff --git a/ui/src/pages/Layout/index.tsx b/ui/src/pages/Layout/index.tsx
index eb44e3e3..f0a061bd 100644
--- a/ui/src/pages/Layout/index.tsx
+++ b/ui/src/pages/Layout/index.tsx
@@ -53,10 +53,8 @@ const Layout: FC = () => {
     const systemThemeQuery = window.matchMedia('(prefers-color-scheme: dark)');
     function handleSystemThemeChange(event) {
       if (event.matches) {
-        console.log('system theme is dark');
         changeTheme('dark');
       } else {
-        console.log('system theme is light');
         changeTheme('light');
       }
     }