diff --git a/pages/api/generate.ts b/pages/api/generate.ts index cf691b0e..354d0295 100644 --- a/pages/api/generate.ts +++ b/pages/api/generate.ts @@ -41,7 +41,7 @@ export default async function handler( res .status(429) .json( - "We're temporarily limiting generations to 1 per day because of high traffic. Please try again in 24 hours. For any questions, email hassan@hey.com" + "We're temporarily limiting generations to 1 per day because of high traffic. For any questions, email hassan@hey.com" ); return; } diff --git a/pages/dream.tsx b/pages/dream.tsx index 549ca61f..d55de06a 100644 --- a/pages/dream.tsx +++ b/pages/dream.tsx @@ -15,7 +15,6 @@ import appendNewToName from "../utils/appendNewToName"; import downloadPhoto from "../utils/downloadPhoto"; import DropDown from "../components/DropDown"; import { roomType, rooms, themeType, themes } from "../utils/dropdownTypes"; -import CountUp from "react-countup"; import { GenerateResponseData } from "./api/generate"; // Configuration for the uploader @@ -257,14 +256,19 @@ const Home: NextPage = () => { )} {error && (