diff options
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> ) |