Skip to content

Commit

Permalink
fix type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
rmorshea committed Sep 4, 2020
1 parent 26e3d25 commit 49bb80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idom/core/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def use_effect(
"""
hook = current_hook()
memoize = use_memo(args=args)
last_clean_callback = use_ref(None)
last_clean_callback: Ref[Optional[_EffectCleanFunc]] = use_ref(None)

def add_effect(function: _EffectApplyFunc) -> None:

Expand Down

0 comments on commit 49bb80f

Please sign in to comment.