-
{props.title}
+
Owner: {props.owner}
+
Title: {props.title}
diff --git a/src/Components/Notes/Notes.tsx b/src/Components/Notes/Notes.tsx
index e1c2d2a..b275869 100644
--- a/src/Components/Notes/Notes.tsx
+++ b/src/Components/Notes/Notes.tsx
@@ -58,6 +58,7 @@ export default function Notes() {
{notes.map(
(
note: {
+ owner: string;
title: string;
content: string;
id: number;
@@ -72,6 +73,7 @@ export default function Notes() {
title={note.title}
content={note.content}
date_created={note.date_created}
+ owner={note.owner}
/>
);
}
diff --git a/src/Interfaces/Interfaces.tsx b/src/Interfaces/Interfaces.tsx
index ea68b14..7ec33f0 100644
--- a/src/Interfaces/Interfaces.tsx
+++ b/src/Interfaces/Interfaces.tsx
@@ -20,6 +20,7 @@ export interface NoteProps {
content: string;
id: number;
date_created: string;
+ owner: string;
}
export interface IconProps {