Lint all the things
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Button, Input, Space } from "antd";
|
||||
import React, { useState } from "react";
|
||||
import { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
export default function HelpRescue() {
|
||||
@@ -7,7 +7,7 @@ export default function HelpRescue() {
|
||||
const [code, setCode] = useState("");
|
||||
|
||||
const handleClick = async () => {
|
||||
var bodyFormData = new FormData();
|
||||
const bodyFormData = new FormData();
|
||||
bodyFormData.append("Code", code);
|
||||
bodyFormData.append("hostederrorhandling", 1);
|
||||
await fetch("https://secure.logmeinrescue.com/Customer/Code.aspx", {
|
||||
@@ -35,7 +35,7 @@ export default function HelpRescue() {
|
||||
action="https://secure.logmeinrescue.com/Customer/Code.aspx"
|
||||
method="post"
|
||||
id="logmeinsupport"
|
||||
onSubmit={(...props) => {
|
||||
onSubmit={() => {
|
||||
alert();
|
||||
}}
|
||||
>
|
||||
@@ -43,8 +43,8 @@ export default function HelpRescue() {
|
||||
<input type="text" name="Code" />
|
||||
<br />
|
||||
<input type="submit" value="Connect to technician" />
|
||||
<input type="hidden" name="tracking0" maxlength="64" />
|
||||
<input type="hidden" name="language" maxlength="5" />
|
||||
<input type="hidden" name="tracking0" maxLength="64" />
|
||||
<input type="hidden" name="language" maxLength="5" />
|
||||
<input type="hidden" name="hostederrorhandling" value="1" />
|
||||
</form>
|
||||
</Space>
|
||||
|
||||
Reference in New Issue
Block a user