Download wp-calypso/client/state/analytics/actions/set-tracks-opt-out.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 186 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/analytics/actions/set-tracks-opt-out.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/state/analytics/actions/set-tracks-opt-out.js
-
curl -L -o set-tracks-opt-out.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/analytics/actions/set-tracks-opt-out.js
186 Bytes
| import { ANALYTICS_TRACKS_OPT_OUT } from 'calypso/state/action-types'; | |
| export function setTracksOptOut( isOptingOut ) { | |
| return { | |
| type: ANALYTICS_TRACKS_OPT_OUT, | |
| isOptingOut, | |
| }; | |
| } | |