Skip to content

Commit dbce12f

Browse files
authored
fix typos
1 parent 4aa36ae commit dbce12f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/site/docs/guide/lesson-019.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class HistoryEntry {
6060
}
6161
```
6262

63-
## Desgin states {#design-states}
63+
## Design states {#design-states}
6464

6565
Referring to Excalidraw, we split the system state into `AppState` and `Elements`. The former includes the state of the canvas as well as the UI components, such as the current theme, the camera zoom level, the toolbar configurations and selections, etc.
6666

@@ -228,7 +228,7 @@ export class History {
228228

229229
Now we can look at how to design the `AppStateChange` and `ElementsChange` data structures for `Change`, allowing us to use a generic `entry.inverse()` instead of describing each changeable attribute with `add/removeFill` `add/removeStroke` and so on.
230230

231-
## Desgin change structure {#design-change-structure}
231+
## Design change structure {#design-change-structure}
232232

233233
The `Change` interface in Excalidraw is very simple:
234234

0 commit comments

Comments
 (0)