Commit d63447e
authored
Remove the third argument from createNote helper function calls
- The createNote helper function has only two parameters - page and content. But the code is calling the function with three arguments - createNote(page, 'note content', true)
- I fixed the code by calling the createNote function by calling it with only first two arguments
- I assume the last boolean argument is for the "important" property of a note, but it isn't used here correctly1 parent ca8c0eb commit d63447e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
900 | 900 | | |
901 | 901 | | |
902 | 902 | | |
903 | | - | |
| 903 | + | |
904 | 904 | | |
905 | 905 | | |
906 | 906 | | |
907 | 907 | | |
908 | 908 | | |
909 | | - | |
| 909 | + | |
910 | 910 | | |
911 | 911 | | |
912 | 912 | | |
| |||
0 commit comments