forked from extern/bruno
fix: fix react warnings
This commit is contained in:
parent
2431c0ac03
commit
b4599b65b9
@ -52,7 +52,7 @@ const QueryParams = () => {
|
|||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
name="key"
|
name="key"
|
||||||
autocomplete="off"
|
autoComplete="off"
|
||||||
defaultValue={params[index].key}
|
defaultValue={params[index].key}
|
||||||
onChange={(e) => handleParamValueChange(e, index, 'key')}
|
onChange={(e) => handleParamValueChange(e, index, 'key')}
|
||||||
/>
|
/>
|
||||||
@ -61,7 +61,7 @@ const QueryParams = () => {
|
|||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
name="value"
|
name="value"
|
||||||
autocomplete="off"
|
autoComplete="off"
|
||||||
defaultValue={params[index].value}
|
defaultValue={params[index].value}
|
||||||
onChange={(e) => handleParamValueChange(e, index, 'value')}
|
onChange={(e) => handleParamValueChange(e, index, 'value')}
|
||||||
/>
|
/>
|
||||||
@ -70,7 +70,7 @@ const QueryParams = () => {
|
|||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
name="description"
|
name="description"
|
||||||
autocomplete="off"
|
autoComplete="off"
|
||||||
defaultValue={params[index].description}
|
defaultValue={params[index].description}
|
||||||
onChange={(e) => handleParamValueChange(e, index, 'description')}
|
onChange={(e) => handleParamValueChange(e, index, 'description')}
|
||||||
/>
|
/>
|
||||||
|
@ -52,7 +52,7 @@ const RequestHeaders = () => {
|
|||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
name="key"
|
name="key"
|
||||||
autocomplete="off"
|
autoComplete="off"
|
||||||
defaultValue={headers[index].key}
|
defaultValue={headers[index].key}
|
||||||
onChange={(e) => handleHeaderValueChange(e, index, 'key')}
|
onChange={(e) => handleHeaderValueChange(e, index, 'key')}
|
||||||
/>
|
/>
|
||||||
@ -61,7 +61,7 @@ const RequestHeaders = () => {
|
|||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
name="value"
|
name="value"
|
||||||
autocomplete="off"
|
autoComplete="off"
|
||||||
defaultValue={headers[index].value}
|
defaultValue={headers[index].value}
|
||||||
onChange={(e) => handleHeaderValueChange(e, index, 'value')}
|
onChange={(e) => handleHeaderValueChange(e, index, 'value')}
|
||||||
/>
|
/>
|
||||||
@ -70,7 +70,7 @@ const RequestHeaders = () => {
|
|||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
name="description"
|
name="description"
|
||||||
autocomplete="off"
|
autoComplete="off"
|
||||||
defaultValue={headers[index].description}
|
defaultValue={headers[index].description}
|
||||||
onChange={(e) => handleHeaderValueChange(e, index, 'description')}
|
onChange={(e) => handleHeaderValueChange(e, index, 'description')}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user