- input:
+ Input:
{
- setCurType(e.target.value)
+ setCurType(e.target.value);
}}
value={curType}
>
{typeRadios.map((item, index) => {
- return {item}
+ return (
+
+ {item}
+
+ );
})}
@@ -93,26 +103,23 @@ export const UrlEncodePage = () => {
placeholder={inputPlaceholder}
value={inputValue}
onChange={(value) => {
- setInputValue(value)
+ setInputValue(value);
}}
>