Updated empty content text.

This commit is contained in:
Pushkar Anand 2021-01-25 02:29:58 +05:30
parent e98ae28856
commit a3379dc53a
2 changed files with 4 additions and 3 deletions

View file

@ -20,6 +20,7 @@ import Collections from './components/Collections';
import SadFace from 'components/SadFace';
import Upload from './components/Upload';
import { collection, fetchCollections, collectionLatestFile, getCollectionLatestFile, getFavItemIds } from 'services/collectionService';
import constants from 'utils/strings/constants';
enum ITEM_TYPE {
TIME = 'TIME',
@ -403,8 +404,7 @@ export default function Gallery(props) {
</Container>
) : (
<DeadCenter>
<SadFace height={100} width={100} />
<div>No content found!</div>
<div>{constants.NOTHING_HERE}</div>
</DeadCenter>
)}
</>

View file

@ -43,7 +43,8 @@ const englishConstants = {
CONSOLE_WARNING_STOP: 'STOP!',
CONSOLE_WARNING_DESC: `This is a browser feature intended for developers. If someone told you to copy-paste something here to enable a feature or "hack" someone's account, it is a scam and will give them access to your account.`,
SELECT_COLLECTION: `Select/Click on Collection to upload`,
CLOSE: 'Close'
CLOSE: 'Close',
NOTHING_HERE: `nothing to see here! 👀`,
};
export default englishConstants;