Skip to content

Commit

Permalink
refactor(ui/single_select): remove unused chunk_index field
Browse files Browse the repository at this point in the history
Removed the unused `chunk_index` field from `SingleSelect` struct.
This cleanup reduces code complexity and improves maintainability.
  • Loading branch information
sarub0b0 committed Oct 24, 2024
1 parent f2ad6ee commit af5e317
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ui/widget/single_select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ impl SingleSelectBuilder {
pub struct SingleSelect<'a> {
id: String,
widget_base: WidgetBase,
chunk_index: usize,
filter_form: FilterForm,
select_form: SelectForm<'a>,
layout: Layout,
Expand All @@ -119,7 +118,6 @@ impl Default for SingleSelect<'_> {
Self {
id: Default::default(),
widget_base: Default::default(),
chunk_index: Default::default(),
filter_form: Default::default(),
select_form: Default::default(),
layout: Default::default(),
Expand Down

0 comments on commit af5e317

Please sign in to comment.