chore: typo and icon

This commit is contained in:
Zephyruso 2023-08-31 13:04:38 +08:00
parent 03dda3ccad
commit f12ed63977

View File

@ -1,9 +1,9 @@
import { createEventSignal } from '@solid-primitives/event-listener' import { createEventSignal } from '@solid-primitives/event-listener'
import { createReconnectingWS } from '@solid-primitives/websocket' import { createReconnectingWS } from '@solid-primitives/websocket'
import { import {
IconCircleX,
IconSortAscending, IconSortAscending,
IconSortDescending, IconSortDescending,
IconX,
} from '@tabler/icons-solidjs' } from '@tabler/icons-solidjs'
import { import {
ColumnDef, ColumnDef,
@ -84,20 +84,20 @@ export default () => {
header: () => ( header: () => (
<div class="flex h-full items-center"> <div class="flex h-full items-center">
<button <button
class="btn btn-circle btn-outline btn-xs" class="btn btn-ghost btn-xs"
onClick={() => request.delete('connections')} onClick={() => request.delete('connections')}
> >
<IconX class="" /> <IconCircleX size="18" />
</button> </button>
</div> </div>
), ),
cell: ({ row }) => ( cell: ({ row }) => (
<div class="flex h-full items-center"> <div class="flex h-full items-center">
<button <button
class="btn btn-circle btn-outline btn-xs" class="btn btn-ghost btn-xs"
onClick={() => onCloseConnection(row.id)} onClick={() => onCloseConnection(row.id)}
> >
<IconX /> <IconCircleX size="18" />
</button> </button>
</div> </div>
), ),