Download wp-calypso/client/me/security-2fa-key/wait-for-key.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 535 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/me/security-2fa-key/wait-for-key.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/me/security-2fa-key/wait-for-key.jsx
-
curl -L -o wait-for-key.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/me/security-2fa-key/wait-for-key.jsx
535 Bytes
| import { Spinner } from '@automattic/components'; | |
| import { useTranslate } from 'i18n-calypso'; | |
| export default function WaitForKey() { | |
| const translate = useTranslate(); | |
| return ( | |
| <div className="security-2fa-key__add-wait-for-key"> | |
| <Spinner /> | |
| <p className="security-2fa-key__add-wait-for-key-heading"> | |
| { translate( 'Waiting for security key' ) } | |
| </p> | |
| <p> | |
| { translate( | |
| 'Connect and touch your security key to register it, or follow the directions in your browser or pop-up.' | |
| ) } | |
| </p> | |
| </div> | |
| ); | |
| } | |