From 030518f6d9912c0411cd2f0e2c0f18fa4344c6b6 Mon Sep 17 00:00:00 2001
From: Taylor Smock <45215054+tsmock@users.noreply.github.com>
Date: Fri, 7 Jul 2023 01:21:11 -0600
Subject: [PATCH] ReactJS: Don't use 'selected' for '' nodes (#5965)
Signed-off-by: Taylor Smock
---
frontend/src/components/projectEdit/settingsForm.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/frontend/src/components/projectEdit/settingsForm.js b/frontend/src/components/projectEdit/settingsForm.js
index bf0f511a5c..2ede63c99d 100644
--- a/frontend/src/components/projectEdit/settingsForm.js
+++ b/frontend/src/components/projectEdit/settingsForm.js
@@ -32,9 +32,10 @@ export const SettingsForm = ({ languages, defaultLocale }) => {
name="defaultLocale"
onChange={updateDefaultLocale}
className="pa2 bg-white ba ba--grey-light"
+ value={defaultLocale}
>
{languages.map((l) => (
-
))}