Diffstat (limited to 'src/ui/list.rs')
| -rw-r--r-- | src/ui/list.rs | 5 |
|
1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/ui/list.rs b/src/ui/list.rs index b08d4e6..7168aa5 100644 --- a/src/ui/list.rs +++ b/src/ui/list.rs @@ -8,10 +8,7 @@ pub fn new(items: Vec<T>) -> Self { let mut state = TableState::default(); state.select_first(); Self { state, items, } Self { state, items } } pub fn set_items(&mut self, items: Vec<T>) {
