diff options
author | 2021-12-13 18:37:58 +0000 | |
---|---|---|
committer | 2021-12-13 18:37:58 +0000 | |
commit | fbbeee41aaaba5da116eb21e38424bdcd522bdd5 (patch) | |
tree | c0eff19d91cf120f9ef8fff58b975d464c00d038 /examples/with-nanostores/src | |
parent | 23b7756d6b7b9cc094b97442123fffa08c6420e8 (diff) | |
download | astro-fbbeee41aaaba5da116eb21e38424bdcd522bdd5.tar.gz astro-fbbeee41aaaba5da116eb21e38424bdcd522bdd5.tar.zst astro-fbbeee41aaaba5da116eb21e38424bdcd522bdd5.zip |
[ci] yarn format
Diffstat (limited to 'examples/with-nanostores/src')
4 files changed, 4 insertions, 4 deletions
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 ( <> <h1>React</h1> 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 = () => { <br /> </> ); -} +}; 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); |