fix: fix react warnings

This commit is contained in:
Anoop M D 2022-01-23 17:14:46 +05:30
parent 2431c0ac03
commit b4599b65b9
2 changed files with 6 additions and 6 deletions

View File

@ -52,7 +52,7 @@ const QueryParams = () => {
<input
type="text"
name="key"
autocomplete="off"
autoComplete="off"
defaultValue={params[index].key}
onChange={(e) => handleParamValueChange(e, index, 'key')}
/>
@ -61,7 +61,7 @@ const QueryParams = () => {
<input
type="text"
name="value"
autocomplete="off"
autoComplete="off"
defaultValue={params[index].value}
onChange={(e) => handleParamValueChange(e, index, 'value')}
/>
@ -70,7 +70,7 @@ const QueryParams = () => {
<input
type="text"
name="description"
autocomplete="off"
autoComplete="off"
defaultValue={params[index].description}
onChange={(e) => handleParamValueChange(e, index, 'description')}
/>

View File

@ -52,7 +52,7 @@ const RequestHeaders = () => {
<input
type="text"
name="key"
autocomplete="off"
autoComplete="off"
defaultValue={headers[index].key}
onChange={(e) => handleHeaderValueChange(e, index, 'key')}
/>
@ -61,7 +61,7 @@ const RequestHeaders = () => {
<input
type="text"
name="value"
autocomplete="off"
autoComplete="off"
defaultValue={headers[index].value}
onChange={(e) => handleHeaderValueChange(e, index, 'value')}
/>
@ -70,7 +70,7 @@ const RequestHeaders = () => {
<input
type="text"
name="description"
autocomplete="off"
autoComplete="off"
defaultValue={headers[index].description}
onChange={(e) => handleHeaderValueChange(e, index, 'description')}
/>