Skip to content

Commit d8682ac

Browse files
committed
🐛 Fix(streamlit_reportview.py): correct df_index creation
1 parent aa8b443 commit d8682ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vuegen/streamlit_reportview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ def _generate_component_imports(self, component: r.Component) -> List[str]:
744744
component_imports.extend(components_imports['chatbot'])
745745
elif component_type == r.ComponentType.DATAFRAME:
746746
component_imports.extend(components_imports['dataframe'])
747-
component_imports.extend("df_index = 1")
747+
component_imports.append('df_index = 1')
748748

749749
# Return the list of import statements
750750
return component_imports

0 commit comments

Comments
 (0)