Remove unnecessary spread operator

This commit is contained in:
Dave Bartolomeo
2023-03-28 11:28:09 -04:00
parent 5251f06c0a
commit bf0af78d9f

View File

@@ -445,9 +445,7 @@ export async function compileAndRunQueryAgainstDatabaseCore(
void showAndLogExceptionWithTelemetry(error);
}
return {
...translateLegacyResult(result),
};
return translateLegacyResult(result);
} else {
// Error dialogs are limited in size and scrollability,
// so we include a general description of the problem,