diff --git a/src/pages/gallery/index.tsx b/src/pages/gallery/index.tsx index 578269984..c58607c51 100644 --- a/src/pages/gallery/index.tsx +++ b/src/pages/gallery/index.tsx @@ -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) { ) : ( - -
No content found!
+
{constants.NOTHING_HERE}
)} diff --git a/src/utils/strings/englishConstants.tsx b/src/utils/strings/englishConstants.tsx index 9b72c52d7..4cb78d615 100644 --- a/src/utils/strings/englishConstants.tsx +++ b/src/utils/strings/englishConstants.tsx @@ -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;