diff --git a/package.json b/package.json
index 7ef2af75..8f442d80 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "impro",
- "version": "0.18.62",
+ "version": "0.18.63",
"type": "module",
"scripts": {
"start": "rm -rf \"${BUILD_DIR:-build}\" && NODE_ENV=development eleventy --serve",
diff --git a/src/js/templates/postFeed.template.js b/src/js/templates/postFeed.template.js
index ecfd44d6..27a461bf 100644
--- a/src/js/templates/postFeed.template.js
+++ b/src/js/templates/postFeed.template.js
@@ -204,7 +204,7 @@ export function postFeedTemplate({
if (feed.feed.length === 0) {
return html`
- ${emptyMessage ?? "Feed is empty."}
+ ${emptyMessage ?? "This feed is empty."}
`;
}
diff --git a/src/js/templates/profileFeed.template.js b/src/js/templates/profileFeed.template.js
index 02e7e066..0cd09bc6 100644
--- a/src/js/templates/profileFeed.template.js
+++ b/src/js/templates/profileFeed.template.js
@@ -145,7 +145,7 @@ export function profileFeedTemplate({
}
if (profiles.length === 0) {
return html`
- ${emptyMessage ?? "No profiles."}
+ ${emptyMessage ?? "No profiles to show."}
`;
}
return html` {
);
});
- it("should show default empty message", () => {
- const result = postFeedTemplate({
- feed: { feed: [], cursor: null },
- currentUser: mockUser,
- });
- const container = document.createElement("div");
- render(result, container);
- const message = container.querySelector("[data-testid='feed-end-message']");
- assert(message.textContent.includes("Feed is empty"));
- });
-
it("should show custom empty message when provided", () => {
const result = postFeedTemplate({
feed: { feed: [], cursor: null },