Skip to content

Commit cc3c07b

Browse files
committed
remove unnecessary set_val
1 parent cb07a55 commit cc3c07b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

reflex_chakra/components/forms/input.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from reflex.components.literals import LiteralInputType
66
from reflex.constants import MemoizationMode
77
from reflex.event import EventHandler
8-
from reflex.utils.imports import ImportDict
98
from reflex.vars.base import Var
109

1110
from reflex_chakra.components import (
@@ -74,14 +73,6 @@ class Input(ChakraComponent):
7473
# Fired when a key is released.
7574
on_key_up: EventHandler[lambda e0: [e0.key]]
7675

77-
def add_imports(self) -> ImportDict:
78-
"""Add imports for the Input component.
79-
80-
Returns:
81-
The import dict.
82-
"""
83-
return {"$/utils/state": "set_val"}
84-
8576
@classmethod
8677
def create(cls, *children, **props) -> Component:
8778
"""Create an Input component.

0 commit comments

Comments
 (0)