Silence warnings, run cargo fmt
This commit is contained in:
parent
fe1c1d3655
commit
af1c767f5f
77 changed files with 1904 additions and 903 deletions
|
|
@ -5,7 +5,7 @@ use leptos::prelude::*;
|
|||
use chattyness_db::models::EmotionAvailability;
|
||||
use chattyness_db::ws_messages::ClientMessage;
|
||||
|
||||
use super::emotion_picker::{EmoteListPopup, LabelStyle, EMOTIONS};
|
||||
use super::emotion_picker::{EMOTIONS, EmoteListPopup, LabelStyle};
|
||||
use super::ws_client::WsSenderStorage;
|
||||
|
||||
/// Command mode state for the chat input.
|
||||
|
|
@ -90,13 +90,10 @@ pub fn ChatInput(
|
|||
emotion_availability: Signal<Option<EmotionAvailability>>,
|
||||
skin_preview_path: Signal<Option<String>>,
|
||||
focus_trigger: Signal<bool>,
|
||||
#[prop(default = Signal::derive(|| ':'))]
|
||||
focus_prefix: Signal<char>,
|
||||
#[prop(default = Signal::derive(|| ':'))] focus_prefix: Signal<char>,
|
||||
on_focus_change: Callback<bool>,
|
||||
#[prop(optional)]
|
||||
on_open_settings: Option<Callback<()>>,
|
||||
#[prop(optional)]
|
||||
on_open_inventory: Option<Callback<()>>,
|
||||
#[prop(optional)] on_open_settings: Option<Callback<()>>,
|
||||
#[prop(optional)] on_open_inventory: Option<Callback<()>>,
|
||||
/// Signal containing the display name to whisper to. When set, pre-fills the input.
|
||||
#[prop(optional, into)]
|
||||
whisper_target: Option<Signal<Option<String>>>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue