Skip to content

Commit

Permalink
ci: Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
madcodelife committed Jan 8, 2025
1 parent d48a6d4 commit bf8eb3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/ui/src/sidebar/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl RenderOnce for SidebarToggleButton {

impl<E: Collapsible + IntoElement> RenderOnce for Sidebar<E> {
fn render(mut self, cx: &mut WindowContext) -> impl IntoElement {
let is_collaped = self.is_collapsed;
let is_collapsed = self.is_collapsed;
v_flex()
.id("sidebar")
.w(self.width)
Expand All @@ -200,7 +200,7 @@ impl<E: Collapsible + IntoElement> RenderOnce for Sidebar<E> {
.child(
v_flex().id("content").flex_1().min_h_0().child(
div()
.children(self.content.into_iter().map(|c| c.collapsed(is_collaped)))
.children(self.content.into_iter().map(|c| c.collapsed(is_collapsed)))
.gap_2()
.scrollable(self.view_id, ScrollbarAxis::Vertical),
),
Expand Down

0 comments on commit bf8eb3f

Please sign in to comment.