diff --git a/README.md b/README.md index 27be1da..10a1781 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ textElement.addEventListener('input', () => { // Dispatch the action, which will subsequently pass this message to the mutation // which in turn, updates the store's state - storeInstance.dispatch('saySomething', textElement.valuei.trim()); + storeInstance.dispatch('saySomething', textElement.value.trim()); }); ``` diff --git a/package.json b/package.json index 00e62bf..60a52e2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "beedle", - "version": "0.4.0", + "version": "0.4.1", "description": "Beedle is a tiny little library to help you manage state across your application. Inspired by great libraries like Vuex and Redux, Beedle creates a central store that enables you to both better control and cascade state across your application.", "main": "dist/beedle.js", "scripts": {