From 705f81d4882f691fbad7d19c92e635c21fb8d9f2 Mon Sep 17 00:00:00 2001 From: James Sweetland Date: Tue, 10 Mar 2020 18:51:13 +0000 Subject: [PATCH] more typos --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a4f9deb..0c69cfb 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ exports.handler = withHooks(handler) ``` ### Flow of Execution -This is a visual of the order in which the hooks are executed. One by one from the before array, to the lambda and then to the after array, only reaching the onError if there's an error at any point. +This is a visual of the order in which the hooks are executed. One by one from the before array, to the lambda and then to the after array, only reaching the onError array *if* there's an error. ```javascript const withHooks = useHooks({