From 116e54d54ce3d09561a1931a3f5d436218fcbf31 Mon Sep 17 00:00:00 2001 From: Alek Petuskey <17petuskey@berkeley.edu> Date: Fri, 18 Nov 2022 17:50:37 -0800 Subject: [PATCH] Update README.md --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 93a72a49c..1dd638fab 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ Now you can modify the source code in my_app_name/my_app_name.py. Pynecone has f Let's go over a simple counter app to explore the basics of Pynecone.
-drawing +drawing
Here is the complete code to create this. @@ -73,10 +73,7 @@ Here is the complete code to create this. import pynecone as pc import random - class State(pc.State): - """The app state.""" - count = 0 def increment(self): @@ -158,7 +155,6 @@ Our counter app has two event handlers, increment and decrement. ```python def index(): - """The main view.""" return pc.center( pc.vstack( pc.heading(State.count),