Sha256: 43b98198802a0994d4857c225368df1b3a7ecc299ec8cb4a0136e1b3f26308c9
Contents?: true
Size: 661 Bytes
Versions: 54
Compression:
Stored size: 661 Bytes
Contents
import React from 'react'; import { useSelector, useDispatch } from 'react-redux'; import { CloudConnectorButton } from './CloudConnectorButton'; import { configureCloudConnector } from './CloudConnectorActions'; import { selectStatus, selectJobLink } from './CloudConnectorSelectors'; const ConnectedCloudConnectorButton = () => { const status = useSelector(selectStatus); const jobLink = useSelector(selectJobLink); const dispatch = useDispatch(); return ( <CloudConnectorButton status={status} onClick={() => dispatch(configureCloudConnector())} jobLink={jobLink} /> ); }; export default ConnectedCloudConnectorButton;
Version data entries
54 entries across 54 versions & 1 rubygems