From 4ff10a9935682276b8ca3ffb699275b627230dfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Berthommier?= Date: Sat, 21 Nov 2020 18:21:31 +0100 Subject: [PATCH] fix(hooks): Remove redundant method call (#65) --- packages/hooks/src/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hooks/src/base.ts b/packages/hooks/src/base.ts index 3f93605..cb40e22 100644 --- a/packages/hooks/src/base.ts +++ b/packages/hooks/src/base.ts @@ -69,7 +69,7 @@ export class HookManager { return otherMiddleware; } - return this.getMiddleware(); + return middleware; } props (props: HookContextData) {