Download wp-calypso/apps/notifications/src/panel/state/selectors/get-note.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 192 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/apps/notifications/src/panel/state/selectors/get-note.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/apps/notifications/src/panel/state/selectors/get-note.js
-
curl -L -o get-note.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/apps/notifications/src/panel/state/selectors/get-note.js
192 Bytes
| import getNotes from './get-notes'; | |
| export const getNote = ( notesState, noteId ) => notesState.allNotes[ noteId ]; | |
| export default ( state, noteId ) => getNote( getNotes( state ), noteId ); | |