summaryrefslogtreecommitdiff
path: root/src/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.js')
-rw-r--r--src/utils.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utils.js b/src/utils.js
new file mode 100644
index 0000000..4153ada
--- /dev/null
+++ b/src/utils.js
@@ -0,0 +1,8 @@
+export const listNotes = (notes) => {
+ notes.forEach(({ id, content, tags }) => {
+ console.log("id: ", id);
+ console.log("tags: ", tags);
+ console.log("content: ", content);
+ console.log("\n");
+ });
+};