From 1fd0e3fbfc0d1bb56120fe1a4b75f85e44225dee Mon Sep 17 00:00:00 2001 From: Thammarith <8011543+thammarith@users.noreply.github.com> Date: Sun, 12 Feb 2023 16:54:38 +0700 Subject: [PATCH] Fix incorrect code --- snippets/auth-next/index/auth_set_language_code.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/auth-next/index/auth_set_language_code.js b/snippets/auth-next/index/auth_set_language_code.js index 47e78295..e570b279 100644 --- a/snippets/auth-next/index/auth_set_language_code.js +++ b/snippets/auth-next/index/auth_set_language_code.js @@ -10,5 +10,5 @@ import { getAuth } from "firebase/auth"; const auth = getAuth(); auth.languageCode = 'it'; // To apply the default browser preference instead of explicitly setting it. -// firebase.auth().useDeviceLanguage(); -// [END auth_set_language_code_modular] \ No newline at end of file +// auth.useDeviceLanguage(); +// [END auth_set_language_code_modular]