Skip to content

Commit

Permalink
Update 2-api-reference.md (#53916)
Browse files Browse the repository at this point in the history
Missing comma in object
  • Loading branch information
JEverhart383 committed Aug 24, 2023
1 parent bc94b20 commit 2aa67f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/interactivity/docs/2-api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ Defines data available to the HTML nodes of the page. It is important to differe
store( {
state: {
someText: "Hello Universe!"
}
},
actions: {
someAction: ({ state, context }) => {
state.someText // Access or modify global state - "Hello Universe!"
Expand Down

0 comments on commit 2aa67f6

Please sign in to comment.