From 46171895149b8546cf34b9a8b21f61d3ab0687b3 Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Tue, 30 Aug 2022 09:18:07 -0600 Subject: [PATCH] Move back to M --- common/like.ts | 2 +- .../contract/like-market-button.tsx | 19 +++++++++++++------ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/common/like.ts b/common/like.ts index 408f0a96..85140e02 100644 --- a/common/like.ts +++ b/common/like.ts @@ -5,4 +5,4 @@ export type Like = { createdTime: number tipTxnId?: string } -export const LIKE_TIP_AMOUNT = 2 +export const LIKE_TIP_AMOUNT = 5 diff --git a/web/components/contract/like-market-button.tsx b/web/components/contract/like-market-button.tsx index 9096d5ca..ae3e7c89 100644 --- a/web/components/contract/like-market-button.tsx +++ b/web/components/contract/like-market-button.tsx @@ -8,6 +8,8 @@ import toast from 'react-hot-toast' import { formatMoney } from 'common/util/format' import { likeContract, unLikeContract } from 'web/lib/firebase/likes' import { LIKE_TIP_AMOUNT } from 'common/like' +import { Col } from 'web/components/layout/col' +import clsx from 'clsx' export function LikeMarketButton(props: { contract: Contract @@ -33,16 +35,21 @@ export function LikeMarketButton(props: { return ( ) }