about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-10-22 18:41:34 +0200
committerThibaut Girka <thib@sitedethib.com>2018-10-22 18:41:34 +0200
commit323ae1403a7aef884d617decac36963afcc7fc70 (patch)
tree5a6811d2b9f339f5b9fd1ecf92ecdaf0cd3342a7 /app/javascript/flavours/glitch
parent1bb23d0407d8fbe35729e3095a6ad6f1a909dc38 (diff)
[Glitch] fix: initial state of PrivacyDropdown is should not be null
Port bebe8ec887ba67c51353e09d7758819b117bf62d to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r--app/javascript/flavours/glitch/features/composer/options/dropdown/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/composer/options/dropdown/index.js b/app/javascript/flavours/glitch/features/composer/options/dropdown/index.js
index 8cfbac1bb..7817cc964 100644
--- a/app/javascript/flavours/glitch/features/composer/options/dropdown/index.js
+++ b/app/javascript/flavours/glitch/features/composer/options/dropdown/index.js
@@ -131,7 +131,7 @@ export default class ComposerOptionsDropdown extends React.PureComponent {
     this.state = {
       needsModalUpdate: false,
       open: false,
-      placement: null,
+      placement: 'bottom',
     };
   }