feat: remove DISABLE_PERSONAL_DAILY_POWER

This commit is contained in:
DIYgod
2024-11-12 18:25:41 +08:00
parent ce56919d6c
commit 064f8f5243
7 changed files with 0 additions and 13 deletions
@@ -11,7 +11,6 @@ import { cn } from "@follow/utils/utils"
import { useMutation } from "@tanstack/react-query"
import { Trans, useTranslation } from "react-i18next"
import { useServerConfigs } from "~/atoms/server-configs"
import { CopyButton } from "~/components/ui/code-highlighter"
import { apiClient } from "~/lib/api-fetch"
import { getBlockchainExplorerUrl } from "~/lib/utils"
@@ -30,7 +29,6 @@ export const MyWalletSection = ({ className }: { className?: string }) => {
const { t } = useTranslation("settings")
const wallet = useWallet()
const myWallet = wallet.data?.[0]
const serverConfigs = useServerConfigs()
const rewardDescriptionModal = useRewardDescriptionModal()
@@ -137,11 +135,6 @@ export const MyWalletSection = ({ className }: { className?: string }) => {
</div>
<Divider className="my-8" />
<SettingSectionTitle title={t("wallet.balance.dailyReward")} margin="compact" />
{serverConfigs?.DISABLE_PERSONAL_DAILY_POWER && (
<div className="my-2 text-[15px] leading-tight text-orange-500">
{t("wallet.power.rewardDescription3")}
</div>
)}
<div className="my-1 text-sm">{t("wallet.power.rewardDescription")}</div>
<div className="my-1 text-sm">
<Trans
-1
View File
@@ -277,7 +277,6 @@
"wallet.power.description2": "Power is an <Link>ERC-20 token</Link> on the {{blockchainName}} blockchain, which can be used for purchases and tipping on Follow.",
"wallet.power.rewardDescription": "All active users on Follow are eligible for daily power rewards.",
"wallet.power.rewardDescription2": "Based on your level and past activities, you can receive a <Balance /> reward today. <Link>Learn more.</Link>",
"wallet.power.rewardDescription3": "We are testing a new reward system. Users who are active on Follow and contribute to the platform will receive more rewards. Below are the rewards you can expect under the new, yet-to-be-implemented rules. Please note that this information is for reference only.",
"wallet.ranking.level": "Level",
"wallet.ranking.name": "Name",
"wallet.ranking.power": "Power",
-1
View File
@@ -277,7 +277,6 @@
"wallet.power.description2": "Power はブロックチェーン {{blockchainName}} 上にある <Link>ERC-20 トークン</Link> で、Follow 内でのチップや購入に使用できます。",
"wallet.power.rewardDescription": "Follow のすべてのアクティブ ユーザーは、デイリー Power 特典の対象となります。",
"wallet.power.rewardDescription2": "あなたのレベルや日々のアクティビティによって <Balance /> が本日の報酬として提供されます。<Link>さらなる情報はこちら</Link>",
"wallet.power.rewardDescription3": "新しい報酬システムをテストしています。Follow に積極的に参加しプラットフォームに貢献しているユーザーは、より多くの報酬を受け取ることができます。以下はまだ実装されていない新しいルールで期待できる報酬です。この情報はあくまでも参考情報であることをご了承ください。",
"wallet.ranking.level": "レベル",
"wallet.ranking.name": "名前",
"wallet.ranking.power": "Power",
-1
View File
@@ -277,7 +277,6 @@
"wallet.power.description2": "Power 是 {{blockchainName}} 区块链上的一个 <Link>ERC-20 代币</Link>,可用于在 Follow 平台上进行购买和打赏。",
"wallet.power.rewardDescription": "所有活跃在 Follow 的用户都有资格获得每日 Power 奖励。",
"wallet.power.rewardDescription2": "根据你的等级和过往活动,你获得一份 <Balance /> 奖励。<Link>了解更多</Link>",
"wallet.power.rewardDescription3": "我们正在测试一种新的奖励系统,在 Follow 上活跃并对平台做出贡献的用户将获得更多的奖励。以下是根据即将实施的新规则,你可能获得的奖励。请注意,此信息仅供参考。",
"wallet.ranking.level": "等级",
"wallet.ranking.name": "用户",
"wallet.ranking.power": "Power",
-1
View File
@@ -277,7 +277,6 @@
"wallet.power.description2": "Power 是 {{blockchainName}} 區塊鏈上的 <Link>ERC-20 代币</Link>,可用於 Follow 購買或贊助",
"wallet.power.rewardDescription": "所有 Follow 的活躍用戶都可以獲得每日 Power 獎勵",
"wallet.power.rewardDescription2": "根據你的等級和過去活動,你獲得一份 <Balance /> 奖励。<Link>更多詳情</Link>",
"wallet.power.rewardDescription3": "我們正在測試一種新的獎勵系統,在 Follow 上活躍並對平台做出貢獻的用戶將獲得更多的獎勵。以下是根據即將實施的新規則,你可能獲得的獎勵。請注意,此資訊僅供參考。",
"wallet.ranking.level": "等級",
"wallet.ranking.name": "用戶",
"wallet.ranking.power": "Power",
-1
View File
@@ -230,7 +230,6 @@
"wallet.power.description2": "Power 是 {{blockchainName}} 區塊鏈上的 <Link>ERC-20 代币</Link>,可用於 Follow 購買或贊助",
"wallet.power.rewardDescription": "所有 Follow 的活躍用戶都可以獲得每日 Power 獎勵",
"wallet.power.rewardDescription2": "根據你的等級和過去活動,你獲得一份 <Balance /> 奖励。<Link>更多詳情</Link>",
"wallet.power.rewardDescription3": "我們正在測試一種新的獎勵系統,在 Follow 上活躍並對平台做出貢獻的用戶將獲得更多的獎勵。以下是根據即將實施的新規則,你可能獲得的獎勵。請注意,此資訊僅供參考。",
"wallet.ranking.level": "等級",
"wallet.ranking.name": "用戶",
"wallet.ranking.power": "Power",
-1
View File
@@ -5074,7 +5074,6 @@ declare const _routes: hono_hono_base.HonoBase<Env, {
trial: number;
normal: number;
};
DISABLE_PERSONAL_DAILY_POWER: boolean;
TAX_POINT: string;
INVITATION_INTERVAL_DAYS: number;
INVITATION_PRICE: number;