Created
August 19, 2020 15:42
-
-
Save stoneboyindc/bd4c3ebb048ea51d59b24bd9f1a16e0b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Route | |
path='/notes/:notesId' | |
render={(routeProps) => | |
<NotePage | |
note={store.notes.find(note => note.id === routeProps.match.params.notesId)} | |
folder={store.folders.find(folder => folder.id === (store.notes.find(note => note.id === routeProps.match.params.notesId)).folderId) } | |
/> | |
} | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment