Skip to content

Commit

Permalink
fix custom component init (#4123)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lendemor authored Oct 8, 2024
1 parent 876426c commit 5e3cfec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reflex/custom_components/custom_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def _validate_library_name(library_name: str | None) -> NameVariants:
# Module name is the snake case.
module_name = "_".join(name_parts)

custom_component_module_dir = f"reflex_{module_name}"
custom_component_module_dir = Path(f"reflex_{module_name}")
console.debug(f"Custom component source directory: {custom_component_module_dir}")

# Use the same name for the directory and the app.
Expand Down

0 comments on commit 5e3cfec

Please sign in to comment.