chore: cleanup

This commit is contained in:
liyasthomas
2021-08-27 09:37:29 +05:30
parent 46eb7d6786
commit bba4d7fcd9
39 changed files with 104 additions and 110 deletions

View File

@@ -8,7 +8,6 @@ export const lenses = [jsonLens, imageLens, htmlLens, xmlLens, rawLens]
export function getSuitableLenses(response) {
const contentType = response.headers.find((h) => h.key === "content-type")
console.log(contentType)
if (!contentType) return [rawLens]