diff --git a/apps/web/src/app/(app)/org/[slug]/(projects)/page.tsx b/apps/web/src/app/(app)/org/[slug]/(projects)/page.tsx index 3ae6f12..7451b15 100644 --- a/apps/web/src/app/(app)/org/[slug]/(projects)/page.tsx +++ b/apps/web/src/app/(app)/org/[slug]/(projects)/page.tsx @@ -1,6 +1,5 @@ import { Plus } from 'lucide-react' import Link from 'next/link' -import { redirect } from 'next/navigation' import { ability, getCurrentOrg } from '@/auth/auth' import { Button } from '@/components/ui/button' diff --git a/apps/web/src/components/pending-invites/index.tsx b/apps/web/src/components/pending-invites/index.tsx index 167bdc2..fcea758 100644 --- a/apps/web/src/components/pending-invites/index.tsx +++ b/apps/web/src/components/pending-invites/index.tsx @@ -18,7 +18,7 @@ export function PendingInvites() { const queryClient = useQueryClient() const [isOpen, setIsOpen] = useState(false) - const { data, isLoading, refetch } = useQuery({ + const { data } = useQuery({ queryKey: ['pending-invites'], queryFn: getPendingInvites, enabled: isOpen, diff --git a/apps/web/src/components/ui/input.tsx b/apps/web/src/components/ui/input.tsx index 7778d95..fc5146e 100644 --- a/apps/web/src/components/ui/input.tsx +++ b/apps/web/src/components/ui/input.tsx @@ -11,7 +11,7 @@ const Input = React.forwardRef( , React.ComponentPropsWithoutRef ->(({ className, align = "center", sideOffset = 4, ...props }, ref) => ( +>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => ( diff --git a/apps/web/src/components/ui/table.tsx b/apps/web/src/components/ui/table.tsx index 7f3502f..97ef8eb 100644 --- a/apps/web/src/components/ui/table.tsx +++ b/apps/web/src/components/ui/table.tsx @@ -1,6 +1,6 @@ -import * as React from "react" +import * as React from 'react' -import { cn } from "@/lib/utils" +import { cn } from '@/lib/utils' const Table = React.forwardRef< HTMLTableElement, @@ -9,20 +9,20 @@ const Table = React.forwardRef<
)) -Table.displayName = "Table" +Table.displayName = 'Table' const TableHeader = React.forwardRef< HTMLTableSectionElement, React.HTMLAttributes >(({ className, ...props }, ref) => ( - + )) -TableHeader.displayName = "TableHeader" +TableHeader.displayName = 'TableHeader' const TableBody = React.forwardRef< HTMLTableSectionElement, @@ -30,11 +30,11 @@ const TableBody = React.forwardRef< >(({ className, ...props }, ref) => ( )) -TableBody.displayName = "TableBody" +TableBody.displayName = 'TableBody' const TableFooter = React.forwardRef< HTMLTableSectionElement, @@ -43,13 +43,13 @@ const TableFooter = React.forwardRef< tr]:last:border-b-0", - className + 'border-t bg-muted/50 font-medium [&>tr]:last:border-b-0', + className, )} {...props} /> )) -TableFooter.displayName = "TableFooter" +TableFooter.displayName = 'TableFooter' const TableRow = React.forwardRef< HTMLTableRowElement, @@ -58,13 +58,13 @@ const TableRow = React.forwardRef< )) -TableRow.displayName = "TableRow" +TableRow.displayName = 'TableRow' const TableHead = React.forwardRef< HTMLTableCellElement, @@ -73,13 +73,13 @@ const TableHead = React.forwardRef<
)) -TableHead.displayName = "TableHead" +TableHead.displayName = 'TableHead' const TableCell = React.forwardRef< HTMLTableCellElement, @@ -87,11 +87,11 @@ const TableCell = React.forwardRef< >(({ className, ...props }, ref) => ( )) -TableCell.displayName = "TableCell" +TableCell.displayName = 'TableCell' const TableCaption = React.forwardRef< HTMLTableCaptionElement, @@ -99,11 +99,11 @@ const TableCaption = React.forwardRef< >(({ className, ...props }, ref) => (
)) -TableCaption.displayName = "TableCaption" +TableCaption.displayName = 'TableCaption' export { Table, diff --git a/turbo.json b/turbo.json index 781f274..754fad8 100644 --- a/turbo.json +++ b/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turbo.build/schema.json", "globalDependencies": ["**/.env.*local"], - "pipeline": { + "tasks": { "build": { "dependsOn": ["^build"], "outputs": [".next/**", "!.next/cache/**"]