gamcoh / st-card

Streamlit component for UI cards
https://pypi.org/project/streamlit-card/
MIT License
116 stars 19 forks source link

hi, i got this error mesage when using the package TypeError: 'NoneType' object is not callable #21

Closed ding22yu closed 9 months ago

ding22yu commented 10 months ago

hi, i got this error mesage when using the package

TypeError: 'NoneType' object is not callable Traceback: File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script exec(code, module.dict) File "/app/app.py", line 19, in hasClicked = card( File "/usr/local/lib/python3.10/site-packages/streamlit_card/init.py", line 54, in card on_click()

gamcoh commented 10 months ago

Hi, can you share your code @ding22yu ?