enzostvs HF staff commited on
Commit
53e1fd3
1 Parent(s): 8b61aa5

add public banner + fix format boddy

Browse files
components/editor/main/hooks/useRequest.ts CHANGED
@@ -42,7 +42,6 @@ export const useRequest = (method: "post" | "put" | "patch" | "delete" | "get",
42
  }
43
  , {}) : undefined;
44
 
45
-
46
  axios[method](url.pathname, needBody ? formattedBody : {
47
  data: method === "delete" ? formattedBody : undefined,
48
  params: url.searchParams
 
42
  }
43
  , {}) : undefined;
44
 
 
45
  axios[method](url.pathname, needBody ? formattedBody : {
46
  data: method === "delete" ? formattedBody : undefined,
47
  params: url.searchParams