From eb59d54a60ce74f928a1d5bec24a6f10da3623f8 Mon Sep 17 00:00:00 2001 From: Khaleel Al-Adhami Date: Thu, 21 Nov 2024 11:40:59 -0800 Subject: [PATCH] get it right pyright --- reflex/components/sonner/toast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/components/sonner/toast.py b/reflex/components/sonner/toast.py index 39a8f9622..8f5362dba 100644 --- a/reflex/components/sonner/toast.py +++ b/reflex/components/sonner/toast.py @@ -266,7 +266,7 @@ class Toaster(Component): raise ValueError("Toast message or title or description must be provided.") if props: - args = LiteralVar.create(ToastProps(component_name="rx.toast", **props)) # pyright: ignore [reportCallIssue] + args = LiteralVar.create(ToastProps(component_name="rx.toast", **props)) # pyright: ignore [reportCallIssue, reportGeneralTypeIssues] toast = toast_command.call(message, args) else: toast = toast_command.call(message)