From ce4026ac4f8b0a66e6a4fcac31c94ba5253f8322 Mon Sep 17 00:00:00 2001 From: Khaleel Al-Adhami Date: Thu, 24 Oct 2024 12:50:36 -0700 Subject: [PATCH] add public as well --- reflex/utils/imports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/utils/imports.py b/reflex/utils/imports.py index b86716cf1..bd422ecc0 100644 --- a/reflex/utils/imports.py +++ b/reflex/utils/imports.py @@ -26,7 +26,7 @@ def merge_imports( # If the lib is an absolute path, we need to prefix it with a $ lib = ( "$" + lib - if lib.startswith(("/utils/", "/components/", "/styles/")) + if lib.startswith(("/utils/", "/components/", "/styles/", "/public/")) else lib ) if isinstance(fields, (list, tuple, set)):