Converted to Vite since create-react-app is no longer being developed

This commit is contained in:
Jamie Curnow committed 2023-07-20 15:11:41 +10:00
1 parent 824a22efad
commit 6d6021c9bb
115 files changed
+2511 -10015

No files matched your search

+2 -1
View File
@@ -1,7 +1,8 @@
import { camelizeKeys, decamelizeKeys } from "humps";
import AuthStore from "modules/AuthStore";
import queryString from "query-string";
import AuthStore from "src/modules/AuthStore";
const contentTypeHeader = "Content-Type";
interface BuildUrlArgs {
+1 -1
View File
@@ -9,7 +9,7 @@ export async function createDNSProvider(
): Promise<DNSProvider> {
// Because the meta property of the data should not be decamelized,
// we're going to decamelize the rest here instead of in base.ts
let dcData: any = decamelizeKeys(data);
const dcData: any = decamelizeKeys(data);
if (typeof data.meta !== "undefined") {
dcData.meta = data.meta;
}
+1 -1
View File
@@ -13,7 +13,7 @@ export async function setDNSProvider(
// Because the meta property of the data should not be decamelized,
// we're going to decamelize the rest here instead of in base.ts
let dcData: any = decamelizeKeys(data);
const dcData: any = decamelizeKeys(data);
if (typeof data.meta !== "undefined") {
dcData.meta = data.meta;
}