Skip to content

Commit 3e08656

Browse files
refactor: autofix issues in 2 files
Resolved issues in the following files with DeepSource Autofix: 1. examples/tailwind/app/_components/card.tsx 2. examples/tailwind/app/page.tsx
1 parent ea3a35e commit 3e08656

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/tailwind/app/_components/card.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ export default function Card({ href, title, text }: CardProps) {
1111
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
1212
target="_blank"
1313
rel="noopener noreferrer">
14-
<h2 className={`mb-3 text-2xl font-semibold`}>
14+
<h2 className={"mb-3 text-2xl font-semibold"}>
1515
{title + " "}
1616
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
1717
-&gt;
1818
</span>
1919
</h2>
20-
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>{text}</p>
20+
<p className={"m-0 max-w-[30ch] text-sm opacity-50"}>{text}</p>
2121
</a>
2222
);
2323
}

examples/tailwind/app/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ export default function Home() {
4040
<StarMe
4141
gitHubUrl="https://github.com/react18-tools/nextjs-darkmode"
4242
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30">
43-
<h2 className={`mb-3 text-2xl font-semibold`}>
43+
<h2 className={"mb-3 text-2xl font-semibold"}>
4444
Star Me{" "}
4545
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
4646
-&gt;
4747
</span>
4848
</h2>
49-
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
49+
<p className={"m-0 max-w-[30ch] text-sm opacity-50"}>
5050
Explore and star official <code>nextjs-darkmode</code> repo.
5151
</p>
5252
</StarMe>

0 commit comments

Comments
 (0)