Fix bug where search seq number was float on Chrome

This commit is contained in:
Tanner Collin 2020-01-15 08:21:22 +00:00
parent 036a39febb
commit 561e3f99d0

View File

@ -32,7 +32,7 @@ export function Members(props) {
<Input autoFocus focus icon='search' <Input autoFocus focus icon='search'
placeholder='Search...' placeholder='Search...'
value={search.q} value={search.q}
onChange={(e, v) => setSearch({seq: e.timeStamp, q: v.value})} onChange={(e, v) => setSearch({seq: parseInt(e.timeStamp), q: v.value})}
aria-label='search products' aria-label='search products'
style={{ marginRight: '0.5rem' }} style={{ marginRight: '0.5rem' }}
/> />