This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/answer-website.git
The following commit(s) were added to refs/heads/main by this push:
new 4881b74ef fix: cancel match browser default language
4881b74ef is described below
commit 4881b74efffdcdd1921d0f0791ecce125ff0b391
Author: shuai <[email protected]>
AuthorDate: Thu Jan 16 10:22:41 2025 +0800
fix: cancel match browser default language
---
src/theme/Layout/index.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/theme/Layout/index.tsx b/src/theme/Layout/index.tsx
index ad7de5c10..927bf0ab5 100644
--- a/src/theme/Layout/index.tsx
+++ b/src/theme/Layout/index.tsx
@@ -23,7 +23,7 @@ import LayoutProvider from '@theme/Layout/Provider';
import ErrorPageContent from '@theme/ErrorPageContent';
import type {Props} from '@theme/Layout';
import mixpanel from 'mixpanel-browser';
-import BrowserLanguage from './BrowserLanguage';
+// import BrowserLanguage from './BrowserLanguage';
import styles from './styles.module.css';
@@ -58,7 +58,7 @@ export default function Layout(props: Props): JSX.Element {
<AnnouncementBar />
<Navbar />
- <BrowserLanguage />
+ {/* <BrowserLanguage /> */}
<div
id={SkipToContentFallbackId}