Skip to content

Commit

Permalink
Add type: ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
whitphx committed May 23, 2024
1 parent ccb1fd2 commit 2d8ace4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions streamlit_webrtc/components_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@

try:
# Streamlit >= 1.34.0 (Ref: https://github.com/streamlit/streamlit/pull/8457)
from streamlit.components.v1 import custom_component as _components
from streamlit.components.v1 import custom_component as _components # type: ignore
except ImportError:
from streamlit.components.v1 import components as _components
from streamlit.components.v1 import components as _components # type: ignore


def _patch_register_widget(register_widget):
Expand Down

0 comments on commit 2d8ace4

Please sign in to comment.