Download wp-calypso/client/state/domains/transfer/selectors.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 191 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/domains/transfer/selectors.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/state/domains/transfer/selectors.js
-
curl -L -o selectors.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/domains/transfer/selectors.js
191 Bytes
| import initialDomainState from './initial'; | |
| export function getDomainWapiInfoByDomainName( state, domainName ) { | |
| return state.domains?.transfer.items[ domainName ] || initialDomainState; | |
| } | |