From 290b7051bc97847f2b9019c1b7a9597b58f18716 Mon Sep 17 00:00:00 2001
From: Austin Chen
Date: Fri, 10 Dec 2021 10:07:38 -0800
Subject: [PATCH] Minor cleanups
---
web/components/button.tsx | 32 -------------------------------
web/components/contracts-list.tsx | 2 +-
web/pages/account.tsx | 2 +-
3 files changed, 2 insertions(+), 34 deletions(-)
delete mode 100644 web/components/button.tsx
diff --git a/web/components/button.tsx b/web/components/button.tsx
deleted file mode 100644
index d7e40579..00000000
--- a/web/components/button.tsx
+++ /dev/null
@@ -1,32 +0,0 @@
-export function Button(props: {
- className?: string
- onClick?: () => void
- color: 'green' | 'red' | 'deemphasized'
- hideFocusRing?: boolean
- children?: any
-}) {
- const { className, onClick, children, color, hideFocusRing } = props
-
- return (
-
- )
-}
-
-function classNames(...classes: any[]) {
- return classes.filter(Boolean).join(' ')
-}
diff --git a/web/components/contracts-list.tsx b/web/components/contracts-list.tsx
index 8169d164..b16d9799 100644
--- a/web/components/contracts-list.tsx
+++ b/web/components/contracts-list.tsx
@@ -33,7 +33,7 @@ function ContractCard(props: { contract: Contract }) {