Skip to content

Commit

Permalink
Minor trace msg change for components
Browse files Browse the repository at this point in the history
  • Loading branch information
chipnertkj committed Oct 12, 2023
1 parent 4b230ff commit fcfcfd9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub struct AppContext {
#[function_component]
pub(super) fn App() -> yew::Html {
// Debug info.
tracing::trace!("Rendering component.");
tracing::trace!("Rendering App component.");

// Set up state.
let app_state = use_state(glue::App::default);
Expand Down
2 changes: 1 addition & 1 deletion src/app/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub(super) struct Props {
#[function_component]
pub(super) fn Editor(props: &Props) -> yew::Html {
// Debug info.
tracing::trace!("Rendering component.");
tracing::trace!("Rendering Editor component.");

// Retrieve state.
let Props { state } = props;
Expand Down
2 changes: 1 addition & 1 deletion src/app/editor/timeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub(super) fn Timeline(props: &Props) -> yew::Html {
let Props { style, class } = props;

// Debug info.
tracing::trace!("Rendering component.");
tracing::trace!("Rendering Timeline component.");

html! {
<div style={style} class={class.to_string()}>
Expand Down
2 changes: 1 addition & 1 deletion src/app/home.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub(super) struct Props {
#[function_component]
pub(super) fn Home(props: &Props) -> yew::Html {
// Debug info.
tracing::trace!("Rendering component.");
tracing::trace!("Rendering Home component.");

// Retrieve state.
let Props { state } = props;
Expand Down
2 changes: 1 addition & 1 deletion src/app/querying_backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub(super) struct Props {
#[function_component]
pub(super) fn QueryingBackend(props: &Props) -> yew::Html {
// Debug info.
tracing::trace!("Rendering component.");
tracing::trace!("Rendering QueryingBackend component.");

// Retrieve state.
let Props { state } = props;
Expand Down
2 changes: 1 addition & 1 deletion src/app/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub(super) struct Props {
#[function_component]
pub(super) fn Setup(props: &Props) -> yew::Html {
// Debug info.
tracing::trace!("Rendering component.");
tracing::trace!("Rendering Setup component.");

// Retrieve state.
let Props { state } = props;
Expand Down

0 comments on commit fcfcfd9

Please sign in to comment.