From b074fe2de57b07ffd9d1da373cfb0828ff8a9d5b Mon Sep 17 00:00:00 2001 From: fragosti Date: Thu, 8 Nov 2018 15:34:53 -0800 Subject: chore: convert payment method to stateless component --- packages/instant/src/components/payment_method.tsx | 54 ++++++++++------------ 1 file changed, 25 insertions(+), 29 deletions(-) (limited to 'packages/instant') diff --git a/packages/instant/src/components/payment_method.tsx b/packages/instant/src/components/payment_method.tsx index 70ad1f96e..491a0bd45 100644 --- a/packages/instant/src/components/payment_method.tsx +++ b/packages/instant/src/components/payment_method.tsx @@ -11,33 +11,29 @@ import { Text } from './ui/text'; export interface PaymentMethodProps {} -export class PaymentMethod extends React.Component { - public render(): React.ReactNode { - return ( - - - - - Payment Method +export const PaymentMethod: React.StatelessComponent = () => ( + + + + + Payment Method + + + + + + MetaMask - - - - - MetaMask - - - - - - - - ); - } -} + + + + + + +); -- cgit