Skip to content

Commit

Permalink
Revert "[step7] fix setItems() properties" (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
NamikoToriyama authored Feb 26, 2024
1 parent 850b807 commit 31f9241
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const ItemList: React.FC<Prop> = (props) => {
.then(response => response.json())
.then(data => {
console.log('GET success:', data);
setItems(data);
setItems(data.items);
onLoadCompleted && onLoadCompleted();
})
.catch(error => {
Expand Down

0 comments on commit 31f9241

Please sign in to comment.