Added Auth Context
implement login client code (todo: server login) Added aboa icon
This commit is contained in:
@@ -19,6 +19,7 @@ pub fn Button(props: ButtonProps) -> Element {
|
||||
rsx! {
|
||||
button {
|
||||
onclick: move |event| {
|
||||
event.prevent_default();
|
||||
if let Some(h) = props.onclick {
|
||||
h.call(event);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user