Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove copy address from leaderboard #382

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/pages/AppMarketplace/GetBitz/Faq.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,9 @@ const Faq: React.FC = () => {
),
},
];

return (
<div className="flex flex-col lg:flex-row justify-between py-16 ">
<div className="flex flex-col justify-between py-16 ">
<div className="flex flex-col mb-8 items-center justify-center">
<span className="text-foreground text-4xl mb-2">FAQs</span>
<span className="text-base text-foreground/75 text-center ">Explore our frequently asked questions and answers.</span>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/AppMarketplace/GetBitz/QuestionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const QuestionCard: React.FC<QuestionCardProps> = ({ title, content }) => {
const [showAnswer, setShowAnswer] = useState(false);

return (
<div className="p-4 px-6 rounded-3xl border border-[#35d9fa] w-full shadow-md shadow-black/20 dark:shadow-[#35d9fa]/20">
<div className="p-4 px-6 rounded-3xl border border-[#35d9fa] w-full lg:max-w-[80%] shadow-md shadow-black/20 dark:shadow-[#35d9fa]/20">
<div
className="flex justify-between items-center cursor-pointer"
onClick={() => {
Expand Down
4 changes: 2 additions & 2 deletions src/pages/AppMarketplace/GetBitz/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { CopyAddress } from "components/CopyAddress";
import { MARKETPLACE_DETAILS_PAGE } from "config";
import { useGetAccount, useGetPendingTransactions } from "hooks";
import { BlobDataType, ExtendedViewDataReturnType } from "libs/types";
import { decodeNativeAuthToken, toastError, sleep, getApiWeb2Apps, createNftId, cn } from "libs/utils";
import { decodeNativeAuthToken, toastError, sleep, getApiWeb2Apps, createNftId, cn, shortenAddress } from "libs/utils";
import { computeRemainingCooldown } from "libs/utils/functions";
import { routeNames } from "routes";
import { BurningImage } from "./BurningImage";
Expand Down Expand Up @@ -746,7 +746,7 @@ export const GetBitz = () => {
<td className="p-2">
#{rank + 1} {rank + 1 === 1 && <span> 🥇</span>} {rank + 1 === 2 && <span> 🥈</span>} {rank + 1 === 3 && <span> 🥉</span>}
</td>
<td className="p-2">{item.playerAddr === address ? "It's YOU! 🫵 🎊" : <CopyAddress address={item.playerAddr} precision={8} />}</td>
<td className="p-2">{item.playerAddr === address ? "It's YOU! 🫵 🎊" : shortenAddress(item.playerAddr, 8)}</td>
<td className="p-2">{item.bits}</td>
</tr>
))}
Expand Down