Download wp-calypso/client/my-sites/stats/mini-carousel/selectors.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 242 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/stats/mini-carousel/selectors.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/my-sites/stats/mini-carousel/selectors.js
-
curl -L -o selectors.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/stats/mini-carousel/selectors.js
242 Bytes
| import { getPreference } from 'calypso/state/preferences/selectors'; | |
| import { getPreferenceKey } from './utils'; | |
| export const isBlockDismissed = ( preferenceName ) => ( state ) => | |
| getPreference( state, getPreferenceKey( preferenceName ) ); | |