update studio
This commit is contained in:
@@ -14,8 +14,8 @@ import {
|
||||
DropdownMenuGroup,
|
||||
DropdownMenuItem,
|
||||
DropdownMenuTrigger
|
||||
} from '@repo/ui/components/ui/dropdown-menu'
|
||||
import { Button } from '@repo/ui/components/ui/button'
|
||||
} from './ui/dropdown-menu'
|
||||
import { Button } from './ui/button'
|
||||
|
||||
export function ExportMenu({
|
||||
name,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { CheckIcon } from 'lucide-react'
|
||||
import { useState } from 'react'
|
||||
|
||||
import { Badge } from '@repo/ui/components/ui/badge'
|
||||
import { Button } from '@repo/ui/components/ui/button'
|
||||
import { Badge } from './ui/badge'
|
||||
import { Button } from './ui/button'
|
||||
import {
|
||||
Command,
|
||||
CommandEmpty,
|
||||
@@ -11,16 +11,12 @@ import {
|
||||
CommandItem,
|
||||
CommandList,
|
||||
CommandSeparator
|
||||
} from '@repo/ui/components/ui/command'
|
||||
import {
|
||||
Popover,
|
||||
PopoverContent,
|
||||
PopoverTrigger
|
||||
} from '@repo/ui/components/ui/popover'
|
||||
import { Separator } from '@repo/ui/components/ui/separator'
|
||||
} from './ui/command'
|
||||
import { Popover, PopoverContent, PopoverTrigger } from './ui/popover'
|
||||
import { Separator } from './ui/separator'
|
||||
import { cn } from '@repo/ui/lib/utils'
|
||||
|
||||
interface FacetedFilterProps<TData, TValue> {
|
||||
interface FacetedFilterProps {
|
||||
title?: string
|
||||
value?: string[]
|
||||
icon: React.ComponentType
|
||||
@@ -33,14 +29,14 @@ interface FacetedFilterProps<TData, TValue> {
|
||||
onChange?: (values: string[]) => void
|
||||
}
|
||||
|
||||
export function FacetedFilter<TData, TValue>({
|
||||
export function FacetedFilter({
|
||||
value = [],
|
||||
icon: Icon,
|
||||
title,
|
||||
options,
|
||||
onChange,
|
||||
className
|
||||
}: FacetedFilterProps<TData, TValue>) {
|
||||
}: FacetedFilterProps) {
|
||||
const [selectedValues, setSelectedValues] = useState(new Set(value))
|
||||
|
||||
return (
|
||||
|
||||
@@ -108,7 +108,7 @@ export function NavUser({
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem asChild>
|
||||
<Link
|
||||
to="//scorm.eduseg.workers.dev/payments"
|
||||
to="//scorm.eduseg.workers.dev/orders"
|
||||
className="cursor-pointer"
|
||||
>
|
||||
<DollarSignIcon />
|
||||
|
||||
Reference in New Issue
Block a user