set default name to be the id

pull/8675/merge^2
Matt Paras 2025-06-21 09:11:37 -07:00
parent b2c28b8c37
commit 1393d1452b
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ pub trait Component: Any + AnyComponent {
}
fn name(&self) -> Option<&str> {
None
self.id()
}
}