Skip to content

Commit

Permalink
fix: <p> cannot appear as a descendant of <p>
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Dec 19, 2024
1 parent 5927f6c commit 1a66184
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/dashboard/NewYearWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ export function NewYearWidget() {
<span className="icon-[twemoji--christmas-tree] text-5xl text-brand-violet" />
</div>
<div className="flex flex-col">
<p className="text-2xl font-semibold text-contrast">
<div className="text-2xl font-semibold text-contrast">
New Year Countdown:{" "}
<span className="font-normal">{daysLeft} days</span>
<p className="mt-2 text-lg text-contrast/75">
{hoursLeft} hours, {minutesLeft} minutes, {secondsLeft} seconds
</p>
</p>
</div>
</div>
</div>
);
Expand Down

0 comments on commit 1a66184

Please sign in to comment.