fix default value for theme in ChakraProvider

This commit is contained in:
Benedikt Bartscher 2024-02-29 01:47:47 +01:00
parent 5c584da4ef
commit 1abc57c68b
No known key found for this signature in database

View File

@ -2,7 +2,7 @@
from __future__ import annotations
from functools import lru_cache
from typing import List, Literal
from typing import List, Literal, Optional
from reflex.components.component import Component
from reflex.utils import imports
@ -55,7 +55,7 @@ class ChakraProvider(ChakraComponent):
tag = "ChakraProvider"
theme: Var[str]
theme: Optional[Var[str]] = None
@classmethod
def create(cls) -> Component: