diff --git a/examples/with-nanostores/src/components/AdminsReact.jsx b/examples/with-nanostores/src/components/AdminsReact.jsx index 5168c6b45..dfddd3e83 100644 --- a/examples/with-nanostores/src/components/AdminsReact.jsx +++ b/examples/with-nanostores/src/components/AdminsReact.jsx @@ -7,7 +7,7 @@ import { counter, increaseCounter, decreaseCounter } from '../store/counter.js'; const AdminsReact = () => { const list = useStore(admins); const count = useStore(counter); - + return ( <>

React

diff --git a/examples/with-nanostores/src/components/AdminsSolid.jsx b/examples/with-nanostores/src/components/AdminsSolid.jsx index c5b234a40..360961a98 100644 --- a/examples/with-nanostores/src/components/AdminsSolid.jsx +++ b/examples/with-nanostores/src/components/AdminsSolid.jsx @@ -25,6 +25,6 @@ const AdminsSolid = () => {
); -} +}; export default AdminsSolid; diff --git a/examples/with-nanostores/src/components/AdminsVue.vue b/examples/with-nanostores/src/components/AdminsVue.vue index 72f0c573d..2f83e9fc1 100644 --- a/examples/with-nanostores/src/components/AdminsVue.vue +++ b/examples/with-nanostores/src/components/AdminsVue.vue @@ -26,7 +26,7 @@ export default { setup() { const list = useStore(admins); const count = useStore(counter); - + return { list, count, increaseCounter, decreaseCounter }; }, }; diff --git a/examples/with-nanostores/src/store/users.js b/examples/with-nanostores/src/store/users.js index 1bed88daf..f00aa83bd 100644 --- a/examples/with-nanostores/src/store/users.js +++ b/examples/with-nanostores/src/store/users.js @@ -19,7 +19,7 @@ const initialValue = [ age: 46, isAdmin: true, }, -] +]; const users = atom(initialValue);