Download wp-calypso/client/state/current-user/email-verification/actions.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 374 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/current-user/email-verification/actions.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/state/current-user/email-verification/actions.js
-
curl -L -o actions.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/current-user/email-verification/actions.js
374 Bytes
| import { EMAIL_VERIFY_REQUEST, EMAIL_VERIFY_STATE_RESET } from 'calypso/state/action-types'; | |
| import 'calypso/state/data-layer/wpcom/me/send-verification-email'; | |
| export const verifyEmail = ( { showGlobalNotices = false } = {} ) => ( { | |
| type: EMAIL_VERIFY_REQUEST, | |
| showGlobalNotices, | |
| } ); | |
| export const resetVerifyEmailState = () => ( { type: EMAIL_VERIFY_STATE_RESET } ); | |