fix: broken component import in prod

This commit is contained in:
liyasthomas
2021-08-24 09:14:46 +05:30
parent f20fed444a
commit 12c28f4efc
75 changed files with 254 additions and 153 deletions

View File

@@ -38,6 +38,7 @@ export const defaultRESTRequest: HoppRESTRequest = {
testScript: "",
body: {
contentType: null,
body: null,
},
}
@@ -224,8 +225,8 @@ const dispatchers = defineDispatchers({
contentType: newContentType,
body:
newContentType === null
? undefined
: (curr.request.body as any).body,
? null
: (curr.request.body as any)?.body ?? "",
},
},
}