Skip to content

Commit

Permalink
Fix import in sidebar example (#1114)
Browse files Browse the repository at this point in the history
```import time``` directive is missing.
  • Loading branch information
sepkov authored Jul 25, 2024
1 parent c8be59a commit d08be15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions content/develop/api-reference/layout/sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Here's an example of how you'd add [`st.echo`](/develop/api-reference/text/st.ec

```python
import streamlit as st
import time

with st.sidebar:
with st.echo():
Expand Down

0 comments on commit d08be15

Please sign in to comment.