Download wp-calypso/client/signup/steps/storage-addon/index.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 467 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/signup/steps/storage-addon/index.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/signup/steps/storage-addon/index.jsx
-
curl -L -o index.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/signup/steps/storage-addon/index.jsx
467 Bytes
| import { Component } from 'react'; | |
| import { connect } from 'react-redux'; | |
| import { submitSignupStep } from 'calypso/state/signup/progress/actions'; | |
| class StorageAddonComponent extends Component { | |
| componentDidMount() { | |
| const { flowName, stepName } = this.props; | |
| this.props.submitSignupStep( { stepName } ); | |
| this.props.goToNextStep( flowName ); | |
| } | |
| render() { | |
| return null; | |
| } | |
| } | |
| export default connect( null, { submitSignupStep } )( StorageAddonComponent ); | |