Skip to content

Commit

Permalink
fix for uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
Nutlope committed Mar 10, 2023
1 parent f3e63dc commit a2282c7
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions pages/dream.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,21 +131,17 @@ const Home: NextPage = () => {
<h1 className="mx-auto max-w-4xl font-display text-4xl font-bold tracking-normal text-slate-100 sm:text-6xl mb-5">
Generate your <span className="text-blue-600">dream</span> room
</h1>
{!restoredImage && (
// <p className="text-gray-400">
// You have{" "}
// <span className="font-semibold text-gray-300">
// {data.remainingGenerations} generations
// </span>{" "}
// left today. Your generation
// {Number(data.remainingGenerations) > 1 ? "s" : ""} will renew in{" "}
// <span className="font-semibold text-gray-300">
// {data.hours + 5} hours and {data.minutes} minutes.
// </span>
// </p>
<p className="text-gray-300 font-medium">
We're currently experiencing some issues with our server. Please try
again later.
{status === "authenticated" && data && !restoredImage && (
<p className="text-gray-400">
You have{" "}
<span className="font-semibold text-gray-300">
{data.remainingGenerations} generations
</span>{" "}
left today. Your generation
{Number(data.remainingGenerations) > 1 ? "s" : ""} will renew in{" "}
<span className="font-semibold text-gray-300">
{data.hours + 5} hours and {data.minutes} minutes.
</span>
</p>
)}
<ResizablePanel>
Expand Down

1 comment on commit a2282c7

@vercel
Copy link

@vercel vercel bot commented on a2282c7 Mar 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.