From 0103594412ed43213fcb535d21ce435eafb8ffaa Mon Sep 17 00:00:00 2001 From: Hassan El Mghari Date: Fri, 24 Mar 2023 00:52:59 -0400 Subject: [PATCH] decreased default generations to 3 credits --- pages/dream.tsx | 4 ++-- .../migrations/20230324045246_decrease_credits/migration.sql | 2 ++ prisma/schema.prisma | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 prisma/migrations/20230324045246_decrease_credits/migration.sql diff --git a/pages/dream.tsx b/pages/dream.tsx index a860d0b1..7c7f77b5 100644 --- a/pages/dream.tsx +++ b/pages/dream.tsx @@ -49,7 +49,7 @@ const Home: NextPage = () => { maxFileCount: 1, mimeTypes: ["image/jpeg", "image/png", "image/jpg"], editor: { images: { crop: false } }, - tags: [data?.remainingGenerations > 5 ? "paid" : "free"], + tags: [data?.remainingGenerations > 3 ? "paid" : "free"], styles: { colors: { primary: "#2563EB", // Primary buttons & links @@ -278,7 +278,7 @@ const Home: NextPage = () => {
Sign in below with Google to create a free account and - redesign your room today. You will get 5 generations for + redesign your room today. You will get 3 generations for free.