Skip to content

Commit

Permalink
mod console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
pulgueta committed Feb 9, 2024
1 parent 76afdac commit 41dbb1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/(dashboard)/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const Dashboard: NextPage<DashboardPage> = async ({ searchParams }) => {
const totalPages = Math.ceil(filesCount / take);

const disabled =
user.plan === plan[user.plan] && filesCount >= maxFiles[user.plan];
user.plan === plan[user.plan] && filesCount === maxFiles[user.plan];

console.log({
user,
Expand All @@ -65,6 +65,7 @@ const Dashboard: NextPage<DashboardPage> = async ({ searchParams }) => {
plan: plan[user.plan],
isPlanSame: user.plan === plan[user.plan],
isFilesExceeded: filesCount >= maxFiles[user.plan],
maxFiles: maxFiles[user.plan],
});

return (
Expand Down

0 comments on commit 41dbb1e

Please sign in to comment.