Skip to content

Commit

Permalink
example: rm redundant items
Browse files Browse the repository at this point in the history
  • Loading branch information
sebkolind committed Nov 25, 2023
1 parent ccbbd5d commit 01ea019
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions example/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,7 @@ one({
name: 'my-component',
components: [Test, List],
props: ['msg', 'variant'],
state: {
msg: 'Initial msg',
items: [
{ id: 1, title: 'List item #1' },
{ id: 2, title: 'List item #2' },
{ id: 3, title: 'List item #3' },
{ id: 4, title: 'List item #4' },
{ id: 5, title: 'List item #5' },
{ id: 6, title: 'List item #6' }
]
},
state: { msg: 'Initial msg' },
template: html`
<div>
<p o-text="$props.msg">Text</p>
Expand Down

0 comments on commit 01ea019

Please sign in to comment.