Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit da1fbef

Browse files
committed
[preview] tweak getMappedExpression (#5887)
1 parent 00beb4f commit da1fbef

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/actions/expressions.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,6 @@ export function getMappedExpression(expression: string) {
150150
return expression;
151151
}
152152

153-
return await dispatch({
154-
type: "MAP_EXPRESSION_RESULT",
155-
[PROMISE]: parser.mapOriginalExpression(expression, mappings)
156-
});
153+
return parser.mapOriginalExpression(expression, mappings);
157154
};
158155
}

0 commit comments

Comments
 (0)