mirror of
https://gitea.mizah.xyz/mizah/dergchat
synced 2024-11-21 13:45:00 -05:00
Ran cargo fmt
This commit is contained in:
parent
d7292505a5
commit
7299c4813d
@ -77,7 +77,6 @@ pub struct LoginScreenProps<'a> {
|
|||||||
/// As a small UX improvement, the widget will automatically fill in the default nick
|
/// As a small UX improvement, the widget will automatically fill in the default nick
|
||||||
/// based on the username, if the user has not changed the default nick.
|
/// based on the username, if the user has not changed the default nick.
|
||||||
pub fn LoginScreen<'a>(cx: Scope<'a, LoginScreenProps>) -> Element<'a> {
|
pub fn LoginScreen<'a>(cx: Scope<'a, LoginScreenProps>) -> Element<'a> {
|
||||||
|
|
||||||
// The username.
|
// The username.
|
||||||
let username = use_state(cx, || cx.props.cached_username.clone());
|
let username = use_state(cx, || cx.props.cached_username.clone());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user