We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ed6463 commit aa2cb9cCopy full SHA for aa2cb9c
src/App.js
@@ -84,8 +84,8 @@ class App extends Component {
84
85
// Pin a note and persist
86
handlePinNote = async (noteid) => {
87
- if (this.state.pinnedNotes.length >= 5) {
88
- alert("You can only pin up to 5 notes.");
+ if (this.state.pinnedNotes.length >= 10) {
+ alert("You can only pin up to 10 notes.");
89
return;
90
}
91
await this.handleIndexedDB("addpin", { noteid });
0 commit comments