fix(chat): clarify daily free chat limit
This commit is contained in:
@@ -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",
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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",
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user