File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ export default function Home() {
157
157
< ReorderableListView />
158
158
< MenuTrigger >
159
159
< ActionButton > Menu</ ActionButton >
160
- < Menu onAction = { ( key ) => ToastQueue . positive ( key ) } >
160
+ < Menu onAction = { ( key ) => ToastQueue . positive ( key . toString ( ) ) } >
161
161
< Item key = "cut" > Cut</ Item >
162
162
< Item key = "copy" > Copy</ Item >
163
163
< Item key = "paste" > Paste</ Item >
@@ -212,7 +212,7 @@ export default function Home() {
212
212
{ ( item : any ) =>
213
213
( < Row key = { item . foo } UNSTABLE_childItems = { item . childRows } >
214
214
{ ( key ) => {
215
- return < Cell > { item [ key ] } </ Cell > ;
215
+ return < Cell > { item [ key . toString ( ) ] } </ Cell > ;
216
216
} }
217
217
</ Row > )
218
218
}
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ export default function Home() {
157
157
< ReorderableListView />
158
158
< MenuTrigger >
159
159
< ActionButton > Menu</ ActionButton >
160
- < Menu onAction = { ( key ) => ToastQueue . positive ( key ) } >
160
+ < Menu onAction = { ( key ) => ToastQueue . positive ( key . toString ( ) ) } >
161
161
< Item key = "cut" > Cut</ Item >
162
162
< Item key = "copy" > Copy</ Item >
163
163
< Item key = "paste" > Paste</ Item >
@@ -212,7 +212,7 @@ export default function Home() {
212
212
{ ( item : any ) =>
213
213
( < Row key = { item . foo } UNSTABLE_childItems = { item . childRows } >
214
214
{ ( key ) => {
215
- return < Cell > { item [ key ] } </ Cell > ;
215
+ return < Cell > { item [ key . toString ( ) ] } </ Cell > ;
216
216
} }
217
217
</ Row > )
218
218
}
You can’t perform that action at this time.
0 commit comments