From cdee1bd81e006e5981fc4f1debca9439d9961435 Mon Sep 17 00:00:00 2001 From: Gaurav Munjal Date: Wed, 27 May 2020 12:48:27 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Ilya Radchenko --- text/0632-deprecate-string-based-actions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/text/0632-deprecate-string-based-actions.md b/text/0632-deprecate-string-based-actions.md index e89f02fe29..c6530b5100 100644 --- a/text/0632-deprecate-string-based-actions.md +++ b/text/0632-deprecate-string-based-actions.md @@ -87,7 +87,7 @@ export default Component.extend({ this.actionName(); }, - action(function actionName() { + actionName: action(function() { // do something }) }); @@ -106,7 +106,7 @@ export class extends Component { } @action - function actionName() { + actionName() { // do something } }