From 78db90d6953aaeea985ebc3bcafbd3b1cb6db118 Mon Sep 17 00:00:00 2001 From: Benedikt Bartscher Date: Thu, 29 Feb 2024 21:22:31 +0100 Subject: [PATCH] forgot to migrate one type_ to annotation --- reflex/components/component.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/components/component.py b/reflex/components/component.py index af8808654..d9d4da32e 100644 --- a/reflex/components/component.py +++ b/reflex/components/component.py @@ -277,7 +277,7 @@ class Component(BaseComponent, ABC): field_type = EventChain elif key in props: # Set the field type. - field_type = fields[key].type_ + field_type = fields[key].annotation else: continue