From: takayamaki Date: Thu, 18 Oct 2018 22:00:19 +0000 (+0900) Subject: fix: initial state of PrivacyDropdown is should not be null (#9008) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=bebe8ec887ba67c51353e09d7758819b117bf62d;p=mastodon.git fix: initial state of PrivacyDropdown is should not be null (#9008) --- diff --git a/app/javascript/mastodon/features/compose/components/privacy_dropdown.js b/app/javascript/mastodon/features/compose/components/privacy_dropdown.js index 7b5482f05..5698765d9 100644 --- a/app/javascript/mastodon/features/compose/components/privacy_dropdown.js +++ b/app/javascript/mastodon/features/compose/components/privacy_dropdown.js @@ -164,7 +164,7 @@ class PrivacyDropdown extends React.PureComponent { state = { open: false, - placement: null, + placement: 'bottom', }; handleToggle = ({ target }) => {