diff --git a/dashboard/src/app/[tenantId]/(diagram)/wfSpec/[...props]/components/WfRunsHeader.tsx b/dashboard/src/app/[tenantId]/(diagram)/wfSpec/[...props]/components/WfRunsHeader.tsx index 8fc92e44a..b670bd8c2 100644 --- a/dashboard/src/app/[tenantId]/(diagram)/wfSpec/[...props]/components/WfRunsHeader.tsx +++ b/dashboard/src/app/[tenantId]/(diagram)/wfSpec/[...props]/components/WfRunsHeader.tsx @@ -1,11 +1,5 @@ import { TIME_RANGES, TIME_RANGES_NAMES, TimeRange, WF_RUN_STATUSES } from '@/app/constants' -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from '@/components/ui/select' +import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select' import { LHStatus, WfSpec } from 'littlehorse-client/proto' import { ClockIcon } from 'lucide-react' import LinkWithTenant from '@/app/[tenantId]/components/LinkWithTenant' diff --git a/dashboard/src/app/[tenantId]/components/Principal.tsx b/dashboard/src/app/[tenantId]/components/Principal.tsx index 3813ae3d9..434bd47c7 100644 --- a/dashboard/src/app/[tenantId]/components/Principal.tsx +++ b/dashboard/src/app/[tenantId]/components/Principal.tsx @@ -1,5 +1,12 @@ import { useWhoAmI } from '@/contexts/WhoAmIContext' -import { DropdownMenu, DropdownMenuSeparator, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel } from '@/components/ui/dropdown-menu' +import { + DropdownMenu, + DropdownMenuSeparator, + DropdownMenuTrigger, + DropdownMenuContent, + DropdownMenuItem, + DropdownMenuLabel, +} from '@/components/ui/dropdown-menu' import { signOut } from 'next-auth/react' import { FC, Fragment } from 'react' function classNames(...classes: Array) { diff --git a/dashboard/src/app/[tenantId]/components/TenantSelector.tsx b/dashboard/src/app/[tenantId]/components/TenantSelector.tsx index 657159b8a..196f13a81 100644 --- a/dashboard/src/app/[tenantId]/components/TenantSelector.tsx +++ b/dashboard/src/app/[tenantId]/components/TenantSelector.tsx @@ -1,6 +1,12 @@ 'use client' import { useWhoAmI } from '@/contexts/WhoAmIContext' -import { DropdownMenu, DropdownMenuSeparator, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem } from '@/components/ui/dropdown-menu' +import { + DropdownMenu, + DropdownMenuSeparator, + DropdownMenuTrigger, + DropdownMenuContent, + DropdownMenuItem, +} from '@/components/ui/dropdown-menu' import { useParams, useRouter } from 'next/navigation' import { FC } from 'react' @@ -32,7 +38,11 @@ export const TenantSelector: FC = () => {
Tenants
{tenants.map(tenant => ( - router.push(`/${tenant}`)}> + router.push(`/${tenant}`)} + > {tenant} ))} diff --git a/dashboard/src/app/[tenantId]/components/VersionSelector.tsx b/dashboard/src/app/[tenantId]/components/VersionSelector.tsx index c93d3f902..1e8aad9ea 100644 --- a/dashboard/src/app/[tenantId]/components/VersionSelector.tsx +++ b/dashboard/src/app/[tenantId]/components/VersionSelector.tsx @@ -1,12 +1,7 @@ import { TagIcon } from 'lucide-react' import { FC } from 'react' import LinkWithTenant from './LinkWithTenant' -import { - Select, - SelectContent, - SelectTrigger, - SelectValue, -} from '@/components/ui/select' +import { Select, SelectContent, SelectTrigger, SelectValue } from '@/components/ui/select' type Props = { path: string diff --git a/dashboard/src/app/[tenantId]/userTaskDef/[...props]/components/UserTaskDef.tsx b/dashboard/src/app/[tenantId]/userTaskDef/[...props]/components/UserTaskDef.tsx index 899c807c7..ade44c9e7 100644 --- a/dashboard/src/app/[tenantId]/userTaskDef/[...props]/components/UserTaskDef.tsx +++ b/dashboard/src/app/[tenantId]/userTaskDef/[...props]/components/UserTaskDef.tsx @@ -11,9 +11,9 @@ import LinkWithTenant from '@/app/[tenantId]/components/LinkWithTenant' import { SEARCH_DEFAULT_LIMIT } from '@/app/constants' import { concatWfRunIds, localDateTimeToUTCIsoString, utcToLocalDateTime } from '@/app/utils' import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '@/components/ui/table' -import { Button } from "@/components/ui/button" -import { Input } from "@/components/ui/input" -import { Label } from "@/components/ui/label" +import { Button } from '@/components/ui/button' +import { Input } from '@/components/ui/input' +import { Label } from '@/components/ui/label' import { useInfiniteQuery } from '@tanstack/react-query' import { UserTaskDef as UserTaskDefProto, UserTaskRunStatus } from 'littlehorse-client/proto' import { RefreshCwIcon } from 'lucide-react' @@ -87,7 +87,7 @@ export const UserTaskDef: FC = ({ spec }) => {