feat: remove mint buttons

This commit is contained in:
DIYgod 2023-06-12 20:10:33 +01:00
parent 740410e510
commit e1f9df7451
No known key found for this signature in database
2 changed files with 4 additions and 6 deletions

View File

@ -4,7 +4,6 @@ import React, { useRef } from "react"
import { ReactionComment } from "~/components/common/ReactionComment"
import { ReactionLike } from "~/components/common/ReactionLike"
import { ReactionMint } from "~/components/common/ReactionMint"
import { ReactionTip } from "~/components/common/ReactionTip"
import { ExpandedCharacter, ExpandedNote } from "~/lib/types"
@ -30,17 +29,17 @@ export const PostActions = ({
}}
ref={containerRef}
>
<div className="sticky top-[calc(100vh-313px)] text-sm leading-loose whitespace-nowrap flex flex-col justify-center items-center space-y-4">
<div className="sticky top-[calc(100vh-245px)] text-sm leading-loose whitespace-nowrap flex flex-col justify-center items-center space-y-4">
<ReactionLike
characterId={page?.characterId}
noteId={page?.noteId}
vertical={true}
/>
<ReactionMint
{/* <ReactionMint
characterId={page?.characterId}
noteId={page?.noteId}
vertical={true}
/>
/> */}
<ReactionTip
characterId={page?.characterId}
noteId={page?.noteId}

View File

@ -7,7 +7,6 @@ import { useQuery, useQueryClient } from "@tanstack/react-query"
import { Comment } from "~/components/common/Comment"
import { ReactionLike } from "~/components/common/ReactionLike"
import { ReactionMint } from "~/components/common/ReactionMint"
import { ReactionTip } from "~/components/common/ReactionTip"
import { ExpandedCharacter, ExpandedNote } from "~/lib/types"
@ -43,7 +42,7 @@ export const PostFooter = ({
data-hide-print
>
<ReactionLike characterId={page?.characterId} noteId={page?.noteId} />
<ReactionMint characterId={page?.characterId} noteId={page?.noteId} />
{/* <ReactionMint characterId={page?.characterId} noteId={page?.noteId} /> */}
<ReactionTip
characterId={page?.characterId}
noteId={page?.noteId}