mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-15 12:59:09 +00:00
Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor
This commit is contained in:
commit
6ac2417534
@ -112,7 +112,7 @@ const IconWrapper = styled.span`
|
||||
`;
|
||||
|
||||
const Button = ({
|
||||
children, className, text, icon, onClick = () => { }, disabled, isWhite = false, isWebUsb = false, isTransparent = false,
|
||||
children, className, icon, onClick = () => { }, disabled, isWhite = false, isWebUsb = false, isTransparent = false,
|
||||
}) => (
|
||||
<Wrapper
|
||||
className={className}
|
||||
@ -151,7 +151,6 @@ Button.propTypes = {
|
||||
color: PropTypes.string,
|
||||
size: PropTypes.number,
|
||||
}),
|
||||
text: PropTypes.string.isRequired,
|
||||
};
|
||||
|
||||
export default Button;
|
@ -138,7 +138,7 @@ export default class RememberDevice extends Component<Props, State> {
|
||||
</StyledButton>
|
||||
<StyledButton
|
||||
isWhite
|
||||
onClick={event => onRememberDevice(device)}
|
||||
onClick={() => onRememberDevice(device)}
|
||||
>Remember
|
||||
</StyledButton>
|
||||
</Column>
|
@ -19,16 +19,16 @@ import * as CONNECT from 'actions/constants/TrezorConnect';
|
||||
import type { MapStateToProps, MapDispatchToProps } from 'react-redux';
|
||||
import type { State, Dispatch } from 'flowtype';
|
||||
|
||||
import ForgetDevice from 'components/modal/ForgetDevice';
|
||||
import ForgetDevice from 'components/modals/ForgetDevice';
|
||||
|
||||
import Pin from 'components/modal/Pin';
|
||||
import InvalidPin from 'components/modal/InvalidPin';
|
||||
import Passphrase from 'components/modal/Passphrase';
|
||||
import PassphraseType from 'components/modal/PassphraseType';
|
||||
import ConfirmSignTx from 'components/modal/ConfirmSignTx';
|
||||
import ConfirmAddress, { ConfirmUnverifiedAddress } from 'components/modal/ConfirmAddress';
|
||||
import RememberDevice from 'components/modal/RememberDevice';
|
||||
import DuplicateDevice from 'components/modal/DuplicateDevice';
|
||||
import Pin from 'components/modals/Pin';
|
||||
import InvalidPin from 'components/modals/InvalidPin';
|
||||
import Passphrase from 'components/modals/Passphrase';
|
||||
import PassphraseType from 'components/modals/PassphraseType';
|
||||
import ConfirmSignTx from 'components/modals/ConfirmSignTx';
|
||||
import ConfirmAddress, { ConfirmUnverifiedAddress } from 'components/modals/ConfirmAddress';
|
||||
import RememberDevice from 'components/modals/RememberDevice';
|
||||
import DuplicateDevice from 'components/modals/DuplicateDevice';
|
||||
|
||||
|
||||
type OwnProps = { }
|
@ -11,7 +11,7 @@ import type { State, Dispatch } from 'flowtype';
|
||||
|
||||
import Header from 'components/Header';
|
||||
import Footer from 'components/Footer';
|
||||
import ModalContainer from 'components/modal';
|
||||
import ModalContainer from 'components/modals';
|
||||
import Notifications from 'components/Notification';
|
||||
import Log from 'components/Log';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user