Skip to content

Commit

Permalink
style(frontend): Format ts files to appease prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
maikbasel committed Mar 27, 2024
1 parent e445f76 commit 8973ea6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions src/components/data-table-actions-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface DataTableActionsButtonProps<TData> {

export default function DataTableActionsButton<TData>({
selectedRows,
}: DataTableActionsButtonProps<TData>) {
}: Readonly<DataTableActionsButtonProps<TData>>) {
return (
<DropdownMenu>
<DropdownMenuTrigger asChild>
Expand All @@ -31,9 +31,7 @@ export default function DataTableActionsButton<TData>({
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align='end' className='w-[150px]'>
<DropdownMenuItem>
Create new
</DropdownMenuItem>
<DropdownMenuItem>Create new</DropdownMenuItem>
<DropdownMenuItem
disabled={!selectedRows || selectedRows?.length !== 1}
>
Expand Down
3 changes: 1 addition & 2 deletions src/components/ui/data-table-toolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import { Input } from '@/components/ui/input';
import { Button } from '@/components/ui/button';
import { DataTableViewOptions } from '@/components/ui/data-table-view-options';
import { type LucideIcon } from 'lucide-react';
import DataTableActionsButton, {
} from '@/components/data-table-actions-button';
import DataTableActionsButton from '@/components/data-table-actions-button';
import ProfileFormDialog from '@/sections/profiles/components/profile-form-dialog';

interface FilterOption {
Expand Down

0 comments on commit 8973ea6

Please sign in to comment.