Preserve stateless interactivity when assigning elements an id
Co-authored-by: Nathan <nathan@zed.dev> Co-authored-by: Piotr <piotr@zed.dev>
This commit is contained in:
parent
d25f48ed6b
commit
4c31a0c989
5 changed files with 28 additions and 37 deletions
|
@ -27,7 +27,6 @@ impl Render for GoToLine {
|
|||
type Element = Div<Self>;
|
||||
|
||||
fn render(&mut self, _cx: &mut ViewContext<Self>) -> Self::Element {
|
||||
dbg!("rendering GoToLine");
|
||||
div().bg(red()).w(px(100.0)).h(px(100.0))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue