mirror of
https://github.com/owncast/owncast.git
synced 2024-11-21 20:28:15 +03:00
Update ClientTable.tsx (#3342)
* Update ClientTable.tsx solves: #3339 ## Changes changed owncast/web/components/admin/ClientTable.tsx line 44 `value={selectedKeys[0]})` to `value={selectedKeys[0].toString()} // Convert selectedKeys[0] to string ` as the value attribute expects a value of type string | number | readonly string[]` but previously it was assigned bigint. * Update ClientTable.tsx solves: #3339 ## Changes changed owncast/web/components/admin/ClientTable.tsx line 44 `value={selectedKeys[0]})` to `value={selectedKeys[0].toString()} // Convert selectedKeys[0] to string ` as the value attribute expects a value of type `string | number | readonly string[]` but previously it was assigned bigint.
This commit is contained in:
parent
08414537be
commit
1917b15b0a
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ export const ClientTable: FC<ClientTableProps> = ({ data }) => {
|
|||
<div style={{ padding: 8 }}>
|
||||
<Input
|
||||
placeholder="Search display names..."
|
||||
value={selectedKeys[0]}
|
||||
value={selectedKeys[0].toString()} // Convert selectedKeys[0] to string
|
||||
onChange={e => {
|
||||
setSelectedKeys(e.target.value ? [e.target.value] : []);
|
||||
confirm({ closeDropdown: false });
|
||||
|
|
Loading…
Reference in a new issue