select default lens instead of raw

This commit is contained in:
Liyas Thomas
2020-06-23 07:58:04 +05:30
parent 6496a1b2b9
commit d12c09aca0
3 changed files with 11 additions and 18 deletions

View File

@@ -3,14 +3,7 @@ import rawLens from "./rawLens"
import imageLens from "./imageLens"
import htmlLens from "./htmlLens"
const lenses = [
jsonLens,
imageLens,
htmlLens,
// Keep Raw Lens as the last option
rawLens,
]
const lenses = [jsonLens, imageLens, htmlLens, rawLens]
function getSuitableLenses(response) {
const result = []