From 370cf67b16ced56dedd2bcb9dcbd10a4d4cb6009 Mon Sep 17 00:00:00 2001 From: Khaleel Al-Adhami Date: Fri, 7 Feb 2025 12:06:02 -0800 Subject: [PATCH] fix typo --- reflex/components/base/bare.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reflex/components/base/bare.py b/reflex/components/base/bare.py index 24a3b9f6a..73b0680d3 100644 --- a/reflex/components/base/bare.py +++ b/reflex/components/base/bare.py @@ -17,7 +17,7 @@ from reflex.vars.sequence import LiteralStringVar @once -def performace_mode(): +def get_performance_mode(): """Get the performance mode. Returns: @@ -35,7 +35,7 @@ def validate_str(value: str): Raises: ValueError: If the value is a Var and the performance mode is set to raise. """ - perf_mode = performace_mode() + perf_mode = get_performance_mode() if perf_mode != PerformanceMode.OFF and value.startswith("reflex___state"): if perf_mode == PerformanceMode.WARN: console.warn(