Sfoglia il codice sorgente

fix: initial state of PrivacyDropdown is should not be null (#9008)

master
takayamaki 5 anni fa
committed by Eugen Rochko
parent
commit
bebe8ec887
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      app/javascript/mastodon/features/compose/components/privacy_dropdown.js

+ 1
- 1
app/javascript/mastodon/features/compose/components/privacy_dropdown.js Vedi File

@@ -164,7 +164,7 @@ class PrivacyDropdown extends React.PureComponent {

state = {
open: false,
placement: null,
placement: 'bottom',
};

handleToggle = ({ target }) => {


Caricamento…
Annulla
Salva