diff options
Diffstat (limited to 'demo/increment.ur')
-rw-r--r-- | demo/increment.ur | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/increment.ur b/demo/increment.ur index a74e80df..532ceb83 100644 --- a/demo/increment.ur +++ b/demo/increment.ur @@ -6,5 +6,5 @@ fun main () = src <- source 0; return <xml><body> <dyn signal={n <- signal src; return <xml>{[n]}</xml>}/> - <button value="Update" onclick={n <- increment (); set src n}/> + <button value="Update" onclick={n <- rpc (increment ()); set src n}/> </body></xml> |