Skip to content

Commit

Permalink
declare_component expects a str not a Path
Browse files Browse the repository at this point in the history
  • Loading branch information
murilo-cunha committed Nov 27, 2022
1 parent bbf1cdf commit 15910d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stream_wars/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

if _RELEASE:
build_dir = _project / "frontend" / "build"
_stream_wars = components.declare_component("stream_wars", path=build_dir)
_stream_wars = components.declare_component("stream_wars", path=str(build_dir))
else:
_stream_wars = components.declare_component(
"stream_wars",
Expand Down

0 comments on commit 15910d8

Please sign in to comment.