Browse Source

Fix benchmark tests (#3822)

Elijah Ahianyo 9 months ago
parent
commit
9c656a0f9c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      benchmarks/test_benchmark_compile_pages.py

+ 1 - 1
benchmarks/test_benchmark_compile_pages.py

@@ -7,7 +7,6 @@ import time
 from typing import Generator
 
 import pytest
-import reflex_chakra as rc
 
 from benchmarks import WINDOWS_SKIP_REASON
 from reflex import constants
@@ -131,6 +130,7 @@ def render_multiple_pages(app, num: int):
 
 def AppWithOnePage():
     """A reflex app with one page."""
+    import reflex_chakra as rc
     from rxconfig import config  # type: ignore
 
     import reflex as rx