Skip to content

Commit aa62cd2

Browse files
renaming ID to id
1 parent f19655d commit aa62cd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/note/note.component.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const Note = ({note}) => {
77
<div className='note-single'>
88
<h3 className='note-title'>{note.title}</h3>
99
<p className='note-body'>{note.body}</p>
10-
<Link className='note-link' to={`/${note.ID}`}>View Detail</Link>
10+
<Link className='note-link' to={`/${note.id}`}>View Detail</Link>
1111
</div>
1212
)
1313
}

0 commit comments

Comments
 (0)