mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
fix size configuration toggle
This commit is contained in:
@@ -176,12 +176,12 @@ export const TableConfig = ({
|
||||
},
|
||||
]}
|
||||
onChange={(value) =>
|
||||
setList(listKey, {
|
||||
table: { size: value as 'compact' | 'default' },
|
||||
setTableUpdate({
|
||||
size: value as 'compact' | 'default' | 'large',
|
||||
})
|
||||
}
|
||||
size="sm"
|
||||
value={table.size}
|
||||
value={table?.size ?? 'default'}
|
||||
w="100%"
|
||||
/>
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user