Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

fix profile leftmost tab radius (#133)

PickleNik6e112a47edf3
diff --git a/src/components/user/dashboard/index.tsx b/src/components/user/dashboard/index.tsx
index fcbf3649..788fc616 100644
--- a/src/components/user/dashboard/index.tsx
+++ b/src/components/user/dashboard/index.tsx
@@ -21,7 +21,7 @@ async function getUserdata(id: string) {
include: {
solution: {
where: {
- userId: id
+ userId: id,
},
orderBy: [
{
@@ -36,7 +36,7 @@ async function getUserdata(id: string) {
},
});
- return userData
+ return userData;
}
export default async function Dashboard({ user }: Props) {
@@ -73,7 +73,7 @@ export default async function Dashboard({ user }: Props) {
<Tabs defaultValue="in-progress" className="space-y-4">
<TabsList className="rounded-full border border-border bg-background">
<TabsTrigger
- className="rounded-lg duration-300 data-[state=active]:bg-border"
+ className="rounded-lg rounded-l-2xl duration-300 data-[state=active]:bg-border"
value="in-progress"
>
In-Progress