Rename test components
This commit is contained in:
parent
1186d5e13e
commit
640c64f5e8
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
use yew::{function_component, Html, html};
|
||||
|
||||
#[function_component]
|
||||
pub fn Test() -> Html {
|
||||
#[function_component(Test)]
|
||||
pub fn test() -> Html {
|
||||
html! {
|
||||
<div class="bg-red-500">
|
||||
<h1>{"Test component"}</h1>
|
||||
|
|
Loading…
Reference in a new issue