Skip to content

Commit

Permalink
Fix st.logo doc link (#8649)
Browse files Browse the repository at this point in the history
Error message links to API reference for st.logo -> fixing that link
since it will actually be under media instead of layout
  • Loading branch information
mayagbarnes committed May 17, 2024
1 parent a3206e7 commit 9392a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/streamlit/commands/logo.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@


def _invalid_logo_text(field_name: str):
return f"The {field_name} passed to st.logo is invalid - See [documentation](https://docs.streamlit.io/library/api-reference/layout/st.logo) for more information on valid types"
return f"The {field_name} passed to st.logo is invalid - See [documentation](https://docs.streamlit.io/develop/api-reference/media/st.logo) for more information on valid types"


@gather_metrics("logo")
Expand Down

0 comments on commit 9392a39

Please sign in to comment.