From a16141bdfa8ab201306bb8860ad1ff4f42a7b79b Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Fri, 17 Aug 2018 18:50:43 -0700 Subject: [PATCH] fix default language dropdown --- components/Editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Editor.js b/components/Editor.js index 9cf2ec4..7b08792 100644 --- a/components/Editor.js +++ b/components/Editor.js @@ -265,7 +265,7 @@ class Editor extends React.Component { LANGUAGE_NAME_HASH[this.state.language] || LANGUAGE_MIME_HASH[this.state.language] || LANGUAGE_MODE_HASH[this.state.language] || - DEFAULT_LANGUAGE + LANGUAGE_MODE_HASH[DEFAULT_LANGUAGE] } list={LANGUAGES} onChange={this.updateLanguage}