Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

Search page #154

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
debug
AliElSherbiny committed Aug 24, 2021
commit 5a549b8ce5cba37b40ad32130114213ad3ac9eff
6 changes: 3 additions & 3 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -88,10 +88,10 @@ booksarr[oldList]=[...updatedarr];
books : booksarr
}
)

console.log('local state:');
console.log(this.state);
window.localStorage.setItem( 'State', JSON.stringify(this.state) );
console.log('local storage:');
console.log(localStorage.State);

return booksarr ;
}
})