mirror of
https://github.com/withastro/astro.git
synced 2025-01-27 22:19:04 -05:00
7063c04dec
* rename kitchen sink, pull out react example * split out the rest of the examples * align versions * chore: rename examples * chore: normalize gitignore * chore: update package versions * chore: move framework examples to `framework` namespace * docs: add README to examples Co-authored-by: Austin Crim <crim.austin@principal.com>
7 lines
186 B
JavaScript
7 lines
186 B
JavaScript
import { createDerived } from 'nanostores';
|
|
|
|
import { users } from './users.js';
|
|
|
|
const admins = createDerived(users, (list) => list.filter((user) => user.isAdmin));
|
|
|
|
export { admins };
|