diff --git a/frontend/src/components/user-select.js b/frontend/src/components/user-select.js index f8ec259b12..b869c782a2 100644 --- a/frontend/src/components/user-select.js +++ b/frontend/src/components/user-select.js @@ -2,7 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import AsyncSelect from 'react-select/lib/Async'; import { seafileAPI } from '../utils/seafile-api.js'; -import gettext from '../utils/constants'; +import { gettext } from '../utils/constants'; const propTypes = { placeholder: PropTypes.string.isRequired, @@ -13,7 +13,7 @@ const propTypes = { const NoOptionsMessage = (props) => { return ( -
{gettext('No Options.')}
+
{gettext('User not found')}
); };