perf: template literals

This commit is contained in:
liyasthomas
2021-09-18 16:09:58 +05:30
parent 4236d1179c
commit e1e763575d
64 changed files with 425 additions and 333 deletions

View File

@@ -260,7 +260,6 @@ const restCollectionDispatchers = defineDispatchers({
console.log(
`Could not resolve path '${path}'. Ignoring editRequest dispatch.`
)
return {}
}
@@ -287,7 +286,6 @@ const restCollectionDispatchers = defineDispatchers({
console.log(
`Could not resolve path '${path}'. Ignoring saveRequestAs dispatch.`
)
return {}
}
@@ -312,7 +310,6 @@ const restCollectionDispatchers = defineDispatchers({
console.log(
`Could not resolve path '${path}'. Ignoring removeRequest dispatch.`
)
return {}
}
@@ -364,7 +361,6 @@ const restCollectionDispatchers = defineDispatchers({
console.log(
`Could not resolve destination path '${destinationPath}'. Skipping moveRequest dispatch.`
)
return {}
}
@@ -533,7 +529,6 @@ const gqlCollectionDispatchers = defineDispatchers({
console.log(
`Could not resolve path '${path}'. Ignoring editRequest dispatch.`
)
return {}
}
@@ -560,7 +555,6 @@ const gqlCollectionDispatchers = defineDispatchers({
console.log(
`Could not resolve path '${path}'. Ignoring saveRequestAs dispatch.`
)
return {}
}
@@ -585,7 +579,6 @@ const gqlCollectionDispatchers = defineDispatchers({
console.log(
`Could not resolve path '${path}'. Ignoring removeRequest dispatch.`
)
return {}
}
@@ -637,7 +630,6 @@ const gqlCollectionDispatchers = defineDispatchers({
console.log(
`Could not resolve destination path '${destinationPath}'. Skipping moveRequest dispatch.`
)
return {}
}

View File

@@ -39,7 +39,6 @@ const dispatchers = defineDispatchers({
console.log(
`Ignoring possibly invalid current environment index assignment (value: ${newIndex})`
)
return {}
}