From ced4c893ba412ca401430a66694e194806d46e6b Mon Sep 17 00:00:00 2001
From: Steve Klebanoff <steve.klebanoff@gmail.com>
Date: Thu, 25 Oct 2018 15:42:35 -0700
Subject: Show View Transaction button on failure, and allow setting of width
 for Try Again button and View Txn button

---
 packages/instant/src/components/view_transaction_button.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'packages/instant/src/components/view_transaction_button.tsx')

diff --git a/packages/instant/src/components/view_transaction_button.tsx b/packages/instant/src/components/view_transaction_button.tsx
index 7aa44e657..8d11bf132 100644
--- a/packages/instant/src/components/view_transaction_button.tsx
+++ b/packages/instant/src/components/view_transaction_button.tsx
@@ -1,11 +1,11 @@
 import * as React from 'react';
 
-import { SecondaryButton } from './secondary_button';
+import { SecondaryButton, SecondaryButtonProps } from './secondary_button';
 
-export interface ViewTransactionButtonProps {
+export interface ViewTransactionButtonProps extends SecondaryButtonProps {
     onClick: () => void;
 }
 
 export const ViewTransactionButton: React.StatelessComponent<ViewTransactionButtonProps> = props => {
-    return <SecondaryButton onClick={props.onClick}>View Transaction</SecondaryButton>;
+    return <SecondaryButton {...props}>View Transaction</SecondaryButton>;
 };
-- 
cgit v1.2.3


From 39f92e4c958590a58ac5c48db197f98fdd9723e1 Mon Sep 17 00:00:00 2001
From: Steve Klebanoff <steve.klebanoff@gmail.com>
Date: Thu, 25 Oct 2018 18:46:33 -0700
Subject: Get BuyOrderState one big connected component, and let user view
 failure

---
 packages/instant/src/components/view_transaction_button.tsx | 11 -----------
 1 file changed, 11 deletions(-)
 delete mode 100644 packages/instant/src/components/view_transaction_button.tsx

(limited to 'packages/instant/src/components/view_transaction_button.tsx')

diff --git a/packages/instant/src/components/view_transaction_button.tsx b/packages/instant/src/components/view_transaction_button.tsx
deleted file mode 100644
index 8d11bf132..000000000
--- a/packages/instant/src/components/view_transaction_button.tsx
+++ /dev/null
@@ -1,11 +0,0 @@
-import * as React from 'react';
-
-import { SecondaryButton, SecondaryButtonProps } from './secondary_button';
-
-export interface ViewTransactionButtonProps extends SecondaryButtonProps {
-    onClick: () => void;
-}
-
-export const ViewTransactionButton: React.StatelessComponent<ViewTransactionButtonProps> = props => {
-    return <SecondaryButton {...props}>View Transaction</SecondaryButton>;
-};
-- 
cgit v1.2.3

