Skip to content

Commit

Permalink
reverse website
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Feb 6, 2024
1 parent 6ec9843 commit 5be3e9c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import { FaGithub, FaDiscord } from 'react-icons/fa'
import { GoBook } from 'react-icons/go'
const EXAMPLE_CODE = `
fn app() -> Element {
let mut count = use_signal(|| 0);
fn app(cx: Scope) -> Element {
let mut count = use_state(cx, || 0);
rsx!(
render!(
rect {
height: "20%",
width: "100%",
Expand Down Expand Up @@ -145,4 +145,4 @@ fn app() -> Element {
height: 481px;
}
}
</style>
</style>

0 comments on commit 5be3e9c

Please sign in to comment.