diff options
Diffstat (limited to 'vnext/src/ui/Settings.js')
-rw-r--r-- | vnext/src/ui/Settings.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vnext/src/ui/Settings.js b/vnext/src/ui/Settings.js index 4b9dc2e9..ccafffa3 100644 --- a/vnext/src/ui/Settings.js +++ b/vnext/src/ui/Settings.js @@ -1,4 +1,4 @@ -import React, { useState, useRef } from 'react'; +import { Fragment, useState, useRef } from 'react'; import { me, updateAvatar } from '../api'; @@ -134,9 +134,9 @@ export default function Settings({ visitor, onChange }) { <p> { visitor.jids.map(jid => - <React.Fragment key={jid}> + <Fragment key={jid}> <label><input type="radio" name="delete" value={jid} />{jid}</label><br /> - </React.Fragment> + </Fragment> ) } </p> @@ -163,12 +163,12 @@ export default function Settings({ visitor, onChange }) { <p> { visitor.emails ? visitor.emails.map(email => - <React.Fragment key={email}> + <Fragment key={email}> <label> <input type="radio" name="account" value={email} />{email} </label> <br /> - </React.Fragment> + </Fragment> ) : '-' } </p> |