Skip to content

Commit aa2cb9c

Browse files
committed
Fix: Increase Number of Pinned Notes to 10
1 parent 9ed6463 commit aa2cb9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ class App extends Component {
8484

8585
// Pin a note and persist
8686
handlePinNote = async (noteid) => {
87-
if (this.state.pinnedNotes.length >= 5) {
88-
alert("You can only pin up to 5 notes.");
87+
if (this.state.pinnedNotes.length >= 10) {
88+
alert("You can only pin up to 10 notes.");
8989
return;
9090
}
9191
await this.handleIndexedDB("addpin", { noteid });

0 commit comments

Comments
 (0)