Skip to content

Commit 7cd88b0

Browse files
fix: Prettier errors
1 parent 736d58c commit 7cd88b0

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const Header = () => {
5959
<Link
6060
key={link.title}
6161
href={link.href}
62-
className="hover:text-primary-500 dark:hover:text-primary-400 m-1 flex items-center gap-1 font-medium text-gray-900 dark:text-gray-100 whitespace-nowrap"
62+
className="whitespace-nowrap hover:text-primary-500 dark:hover:text-primary-400 m-1 flex items-center gap-1 font-medium text-gray-900 dark:text-gray-100"
6363
>
6464
{link.title}
6565
{link.external && (

components/social-icons/icons.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,16 @@ export function Instagram(svgProps: SVGProps<SVGSVGElement>) {
9696

9797
export function ExternalLink(svgProps: SVGProps<SVGSVGElement>) {
9898
return (
99-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...svgProps}>
99+
<svg
100+
xmlns="http://www.w3.org/2000/svg"
101+
viewBox="0 0 24 24"
102+
fill="none"
103+
stroke="currentColor"
104+
strokeWidth="2"
105+
strokeLinecap="round"
106+
strokeLinejoin="round"
107+
{...svgProps}
108+
>
100109
<title>External Link</title>
101110
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6M15 3h6v6M10 14L21 3" />
102111
</svg>

0 commit comments

Comments
 (0)