From 99a2a6d2d8c1f2697a32410b36468123ba55fc24 Mon Sep 17 00:00:00 2001 From: Archmonger <16909269+Archmonger@users.noreply.github.com> Date: Tue, 26 Sep 2023 00:42:25 -0700 Subject: [PATCH] fix broken type hint --- src/reactpy_django/hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reactpy_django/hooks.py b/src/reactpy_django/hooks.py index 58547ca5..756638a5 100644 --- a/src/reactpy_django/hooks.py +++ b/src/reactpy_django/hooks.py @@ -320,7 +320,7 @@ def use_user() -> AbstractUser: def use_user_data( default_data: None | dict[str, Callable[[], Any] | Callable[[], Awaitable[Any]] | Any] = None, -) -> UserData[dict]: +) -> UserData: from reactpy_django.models import UserDataModel user = use_user()