fix(chat): clarify daily free chat limit

This commit is contained in:
2026-07-17 12:47:39 +08:00
parent eac3d8f0a7
commit 3437312167
2 changed files with 4 additions and 4 deletions
@@ -13,8 +13,8 @@ afterEach(() => {
describe("getInsufficientCreditsMessageLimitView", () => { describe("getInsufficientCreditsMessageLimitView", () => {
it("shows the same top-up prompt without checking login status", () => { it("shows the same top-up prompt without checking login status", () => {
expect(getInsufficientCreditsMessageLimitView()).toEqual({ expect(getInsufficientCreditsMessageLimitView()).toEqual({
title: "Insufficient credits", title: "Out of Daily Free Chats",
description: "Free chats refresh every day.", description: "",
ctaLabel: "Top up credits to continue", ctaLabel: "Top up credits to continue",
}); });
}); });
+2 -2
View File
@@ -37,8 +37,8 @@ export function shouldShowMessageLimitBanner({
export function getInsufficientCreditsMessageLimitView(): export function getInsufficientCreditsMessageLimitView():
InsufficientCreditsMessageLimitView { InsufficientCreditsMessageLimitView {
return { return {
title: "Insufficient credits", title: "Out of Daily Free Chats",
description: "Free chats refresh every day.", description: "",
ctaLabel: "Top up credits to continue", ctaLabel: "Top up credits to continue",
}; };
} }