mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
Fix copypasta in basics tutorial
This commit is contained in:
@@ -69,7 +69,7 @@ import (
|
|||||||
|
|
||||||
Bubble Tea programs are comprised of a **model** that describes the application
|
Bubble Tea programs are comprised of a **model** that describes the application
|
||||||
state and three simple methods on that model:
|
state and three simple methods on that model:
|
||||||
We
|
|
||||||
* **Init**, a function that returns an initial command for the application to run.
|
* **Init**, a function that returns an initial command for the application to run.
|
||||||
* **Update**, a function that handles incoming events and updates the model accordingly.
|
* **Update**, a function that handles incoming events and updates the model accordingly.
|
||||||
* **View**, a function that renders the UI based on the data in the model.
|
* **View**, a function that renders the UI based on the data in the model.
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import (
|
|||||||
|
|
||||||
Bubble Tea programs are comprised of a **model** that describes the application
|
Bubble Tea programs are comprised of a **model** that describes the application
|
||||||
state and three simple methods on that model:
|
state and three simple methods on that model:
|
||||||
We
|
|
||||||
* **Init**, a function that returns an initial command for the application to run.
|
* **Init**, a function that returns an initial command for the application to run.
|
||||||
* **Update**, a function that handles incoming events and updates the model accordingly.
|
* **Update**, a function that handles incoming events and updates the model accordingly.
|
||||||
* **View**, a function that renders the UI based on the data in the model.
|
* **View**, a function that renders the UI based on the data in the model.
|
||||||
|
|||||||
Reference in New Issue
Block a user