Skip to content

Commit

Permalink
💻 fix: Prevent DataTable component Text Selection (danny-avila#2749)
Browse files Browse the repository at this point in the history
  • Loading branch information
techwithanirudh authored May 16, 2024
1 parent 6e8b5a2 commit 14c0435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/Chat/Input/Files/Table/DataTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export default function DataTable<TData, TValue>({ columns, data }: DataTablePro
)}
</div>
<Button
className="dark:border-gray-500 dark:hover:bg-gray-600"
className="dark:border-gray-500 dark:hover:bg-gray-600 select-none"
variant="outline"
size="sm"
onClick={() => table.previousPage()}
Expand All @@ -229,7 +229,7 @@ export default function DataTable<TData, TValue>({ columns, data }: DataTablePro
{localize('com_ui_prev')}
</Button>
<Button
className="dark:border-gray-500 dark:hover:bg-gray-600"
className="dark:border-gray-500 dark:hover:bg-gray-600 select-none"
variant="outline"
size="sm"
onClick={() => table.nextPage()}
Expand Down

0 comments on commit 14c0435

Please sign in to comment.