mirror of
https://github.com/withastro/astro.git
synced 2025-01-27 22:19:04 -05:00
[ci] yarn format
This commit is contained in:
parent
23b7756d6b
commit
fbbeee41aa
4 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@ import { counter, increaseCounter, decreaseCounter } from '../store/counter.js';
|
||||||
const AdminsReact = () => {
|
const AdminsReact = () => {
|
||||||
const list = useStore(admins);
|
const list = useStore(admins);
|
||||||
const count = useStore(counter);
|
const count = useStore(counter);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<h1>React</h1>
|
<h1>React</h1>
|
||||||
|
|
|
@ -25,6 +25,6 @@ const AdminsSolid = () => {
|
||||||
<br />
|
<br />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
};
|
||||||
|
|
||||||
export default AdminsSolid;
|
export default AdminsSolid;
|
||||||
|
|
|
@ -26,7 +26,7 @@ export default {
|
||||||
setup() {
|
setup() {
|
||||||
const list = useStore(admins);
|
const list = useStore(admins);
|
||||||
const count = useStore(counter);
|
const count = useStore(counter);
|
||||||
|
|
||||||
return { list, count, increaseCounter, decreaseCounter };
|
return { list, count, increaseCounter, decreaseCounter };
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,7 +19,7 @@ const initialValue = [
|
||||||
age: 46,
|
age: 46,
|
||||||
isAdmin: true,
|
isAdmin: true,
|
||||||
},
|
},
|
||||||
]
|
];
|
||||||
|
|
||||||
const users = atom(initialValue);
|
const users = atom(initialValue);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue