Skip to content

Commit

Permalink
refactor(widget): remove unused chunk_index field
Browse files Browse the repository at this point in the history
Removed the unused `chunk_index` field from `MultipleSelect` struct.
This cleanup reduces code complexity and improves maintainability.
  • Loading branch information
sarub0b0 committed Oct 24, 2024
1 parent af5e317 commit c50c9bc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ui/widget/multiple_select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ const LAYOUT_INDEX_FOR_SELECT_FORM: usize = 2;
pub struct MultipleSelect<'a> {
id: String,
widget_base: WidgetBase,
chunk_index: usize,
filter_form: FilterForm,
select_form: SelectForm<'a>,
layout: Layout,
Expand All @@ -109,7 +108,6 @@ impl Default for MultipleSelect<'_> {
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 c50c9bc

Please sign in to comment.