about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/util
diff options
context:
space:
mode:
authorbeatrix <beatrix.bitrot@gmail.com>2018-01-06 10:30:49 -0500
committerGitHub <noreply@github.com>2018-01-06 10:30:49 -0500
commitfa92e88fb22e3754149bbafbe5e91ef8c067c006 (patch)
treeb91bd0d5dafedb91e3aa480be2f89ecae540c12a /app/javascript/flavours/glitch/util
parent2eed4ace1147d08d29bf9fdd9692afb2871e1fd9 (diff)
appease eslint
Diffstat (limited to 'app/javascript/flavours/glitch/util')
-rw-r--r--app/javascript/flavours/glitch/util/initial_state.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/util/initial_state.js b/app/javascript/flavours/glitch/util/initial_state.js
index 212135fce..a22b68f6f 100644
--- a/app/javascript/flavours/glitch/util/initial_state.js
+++ b/app/javascript/flavours/glitch/util/initial_state.js
@@ -18,6 +18,6 @@ export const boostModal = getMeta('boost_modal');
 export const favouriteModal = getMeta('favourite_modal');
 export const deleteModal = getMeta('delete_modal');
 export const me = getMeta('me');
-export const maxChars = initialState['max_toot_chars'] || 500;
+export const maxChars = initialState.max_toot_chars || 500;
 
 export default initialState;