Skip to content

Commit

Permalink
chore: format code with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 9, 2024
1 parent e58583e commit 9caeffc
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions apps/www/components/custom/navbar/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function MainNav() {
pathname?.startsWith("/docs/components") &&
!pathname?.startsWith("/docs/component/chart")
? "text-foreground"
: "text-foreground/60"
: "text-foreground/60",
)}
>
Demo
Expand All @@ -44,7 +44,7 @@ export function MainNav() {
"transition-colors hover:text-foreground/80",
pathname?.startsWith("/usage")
? "text-foreground"
: "text-foreground/60"
: "text-foreground/60",
)}
>
Usage
Expand All @@ -55,7 +55,7 @@ export function MainNav() {
"transition-colors hover:text-foreground/80",
pathname?.startsWith("/colors")
? "text-foreground"
: "text-foreground/60"
: "text-foreground/60",
)}
>
Pricing
Expand Down
4 changes: 2 additions & 2 deletions apps/www/components/custom/site/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function SiteHeader() {
buttonVariants({
variant: "ghost",
}),
"h-8 w-8 px-0"
"h-8 w-8 px-0",
)}
>
<Icons.gitHub className="h-4 w-4" />
Expand All @@ -35,7 +35,7 @@ export function SiteHeader() {
buttonVariants({
variant: "ghost",
}),
"h-8 w-8 px-0"
"h-8 w-8 px-0",
)}
>
<Icons.twitter className="h-3 w-3 fill-current" />
Expand Down
2 changes: 1 addition & 1 deletion apps/www/components/ui/Rightsidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ export default function Rightsidebar() {
<SidebarContent />
</aside>
);
}
}
20 changes: 10 additions & 10 deletions apps/www/components/ui/scroll-area.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"use client"
"use client";

import * as React from "react"
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area"
import * as React from "react";
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";

import { cn } from "@/lib/utils"
import { cn } from "@/lib/utils";

const ScrollArea = React.forwardRef<
React.ElementRef<typeof ScrollAreaPrimitive.Root>,
Expand All @@ -20,8 +20,8 @@ const ScrollArea = React.forwardRef<
<ScrollBar />
<ScrollAreaPrimitive.Corner />
</ScrollAreaPrimitive.Root>
))
ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName
));
ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;

const ScrollBar = React.forwardRef<
React.ElementRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>,
Expand All @@ -36,13 +36,13 @@ const ScrollBar = React.forwardRef<
"h-full w-2.5 border-l border-l-transparent p-[1px]",
orientation === "horizontal" &&
"h-2.5 flex-col border-t border-t-transparent p-[1px]",
className
className,
)}
{...props}
>
<ScrollAreaPrimitive.ScrollAreaThumb className="relative flex-1 rounded-full bg-border" />
</ScrollAreaPrimitive.ScrollAreaScrollbar>
))
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName
));
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;

export { ScrollArea, ScrollBar }
export { ScrollArea, ScrollBar };

0 comments on commit 9caeffc

Please sign in to comment.