From 1e4a7f3282600749c14ea2f5fa89d27c08ecd667 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 18 Sep 2020 15:55:40 +0200 Subject: [PATCH] props -> attrs in code --- js/src/common/Component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/common/Component.ts b/js/src/common/Component.ts index 02c0041f6..605ae69fe 100644 --- a/js/src/common/Component.ts +++ b/js/src/common/Component.ts @@ -98,9 +98,9 @@ export default abstract class Component implemen * @see https://mithril.js.org/hyperscript.html#mselector,-attributes,-children */ static component(attrs = {}, children = null): Mithril.Vnode { - const componentProps = Object.assign({}, attrs); + const componentAttrs = Object.assign({}, attrs); - return m(this as any, componentProps, children); + return m(this as any, componentAttrs, children); } /**