Feat: view -> render

This commit is contained in:
Jonathan Kelley committed 2021-02-28 21:21:17 -05:00
1 parent 10a236fc65
commit c8bb392cad
24 files changed
+204 -48

No files matched your search

+3 -3
View File
@@ -20,7 +20,7 @@ mod state {
}
static APP: FC<()> = |ctx, props| {
ctx.view(html! {
ctx.render(html! {
<div>
<div>
@@ -29,7 +29,7 @@ static APP: FC<()> = |ctx, props| {
/// Draw the navbar on top of the screen
static Navbar: FC<state::Route> = |ctx, props| {
ctx.view(html! {
ctx.render(html! {
<div>
<div>
@@ -37,7 +37,7 @@ static Navbar: FC<state::Route> = |ctx, props| {
};
static Homepage: FC<()> = |ctx, props| {
ctx.view(html! {
ctx.render(html! {
<div>
<div>