From 80bf48b8728ec00cbb83721e6d6a5c5e86882c80 Mon Sep 17 00:00:00 2001 From: Alek Petuskey Date: Sun, 8 Oct 2023 19:33:37 -0700 Subject: [PATCH] Pin Recharts Dependency (#1934) * Pin dependency * Translated README.md file to Brazilian Portuguese (PT-BR) (#1936) * Namespace Recharts + Victory Back With Depreciation Warning (#1928) --------- Co-authored-by: Alek Petuskey Co-authored-by: Victor Moura <26290053+victorcmoura@users.noreply.github.com> --- reflex/components/graphing/recharts/recharts.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/reflex/components/graphing/recharts/recharts.py b/reflex/components/graphing/recharts/recharts.py index 214829319..816218736 100644 --- a/reflex/components/graphing/recharts/recharts.py +++ b/reflex/components/graphing/recharts/recharts.py @@ -1,6 +1,5 @@ """A component that wraps a recharts lib.""" -from typing import List from reflex.components.component import Component, NoSSRComponent @@ -8,14 +7,10 @@ from reflex.components.component import Component, NoSSRComponent class Recharts(Component): """A component that wraps a victory lib.""" - library = "recharts" - - lib_dependencies: List[str] = ["recharts@2.8.0"] + library = "recharts@2.8.0" class RechartsCharts(NoSSRComponent): """A component that wraps a victory lib.""" - library = "recharts" - - lib_dependencies: List[str] = ["recharts@2.8.0"] + library = "recharts@2.8.0"