diff options
author | 2019-02-01 12:42:18 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:54 +0300 | |
commit | 2c5d92c852857cdb5b8ea78d744fb4fc122590c9 (patch) | |
tree | 0b25e7f71a1464a66cb769a4df340a30d07a7795 /vnext/src/components | |
parent | 48087828920cc60ce82d1957d7943d9d709822a8 (diff) |
Sidebar navigation fixes
Diffstat (limited to 'vnext/src/components')
-rw-r--r-- | vnext/src/components/MessageInput.js | 2 | ||||
-rw-r--r-- | vnext/src/components/Settings.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/components/MessageInput.js b/vnext/src/components/MessageInput.js index 66e6ca02..5766f2ac 100644 --- a/vnext/src/components/MessageInput.js +++ b/vnext/src/components/MessageInput.js @@ -49,7 +49,7 @@ export default class MessageInput extends React.Component { } componentDidMount() { - const isMobile = window.matchMedia('only screen and (max-width: 850px)'); + const isMobile = window.matchMedia('only screen and (width <62.5rem)'); if (!isMobile.matches) { this.textarea.current.focus(); } diff --git a/vnext/src/components/Settings.js b/vnext/src/components/Settings.js index 9c15f562..ea632073 100644 --- a/vnext/src/components/Settings.js +++ b/vnext/src/components/Settings.js @@ -143,7 +143,7 @@ export default class Settings extends React.Component { <p> { me.jids.map(jid => - <React.Fragment key="jid"> + <React.Fragment key={jid}> <label><input type="radio" name="delete" value={jid} />{jid}</label><br /> </React.Fragment> ) |