Skip to content

Commit 631156e

Browse files
committed
chore: format code
Signed-off-by: Innei <[email protected]>
1 parent e01985b commit 631156e

File tree

13 files changed

+12858
-7634
lines changed

13 files changed

+12858
-7634
lines changed

CHANGELOG.md

Lines changed: 1181 additions & 1198 deletions
Large diffs are not rendered by default.

pnpm-lock.yaml

Lines changed: 11667 additions & 6420 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/src/components/icons/PhCloudWarning.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function PhCloudWarning(props: SVGProps<SVGSVGElement>) {
1212
<path
1313
fill="currentColor"
1414
d="M160 40a88.09 88.09 0 0 0-78.71 48.67A64 64 0 1 0 72 216h88a88 88 0 0 0 0-176m0 160H72a48 48 0 0 1 0-96c1.1 0 2.2 0 3.29.11A88 88 0 0 0 72 128a8 8 0 0 0 16 0a72 72 0 1 1 72 72m-8-72V88a8 8 0 0 1 16 0v40a8 8 0 0 1-16 0m20 36a12 12 0 1 1-12-12a12 12 0 0 1 12 12"
15-
/>
15+
/>
1616
</svg>
1717
)
1818
}

src/renderer/src/components/ui/kbd/Kbd.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ function MaterialSymbolsBackspaceOutlineSharp(props: React.SVGProps<SVGSVGElemen
278278
<path
279279
fill="currentColor"
280280
d="M7.95 19L3 12l4.95-7H21v14zM9 17h10V7H9l-3.55 5zm2.4-1l2.6-2.6l2.6 2.6l1.4-1.4l-2.6-2.6L18 9.4L16.6 8L14 10.6L11.4 8L10 9.4l2.6 2.6l-2.6 2.6zm7.6 1V7z"
281-
/>
281+
/>
282282
</svg>
283283
)
284284
}

src/renderer/src/components/ux/transition/icon.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ const createIconTransition =
2323
({ icon1, icon2, status, className, icon1ClassName, icon2ClassName }: IconTransitionProps) => {
2424
const [isMount, setIsMounted] = useState(false)
2525
useEffect(() => {
26-
2726
setIsMounted(true)
2827
return () => setIsMounted(false)
2928
}, [])

src/renderer/src/modules/ai/ai-daily/daily.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export const DailyReportTitle = ({
9797
</span>
9898
),
9999
}}
100-
/>
100+
/>
101101
</li>
102102
<li>{t("ai_daily.tooltip.update_schedule")}</li>
103103
</ul>

src/renderer/src/modules/claim/feed-claim-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export const FeedClaimModalContent: FC<{
8484
<Trans
8585
i18nKey="feed_claim_modal.description_instructions"
8686
components={{ code: <code className="text-sm">{"<description />"}</code> }}
87-
/>
87+
/>
8888
{feed.url.startsWith("rsshub://") && (
8989
<p className="mt-1 leading-tight text-orange-800">
9090
{t("feed_claim_modal.rsshub_notice")}

src/renderer/src/modules/discover/recommendations-card.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
import { FeedIcon } from "@renderer/components/feed-icon"
2-
import {
3-
Card,
4-
CardContent,
5-
CardHeader,
6-
CardTitle,
7-
} from "@renderer/components/ui/card"
2+
import { Card, CardContent, CardHeader, CardTitle } from "@renderer/components/ui/card"
83
import { useModalStack } from "@renderer/components/ui/modal/stacked/hooks"
94
import type { FC } from "react"
105
import { memo } from "react"

src/renderer/src/modules/feed-column/category-remove-dialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { subscriptionActions } from "@renderer/store/subscription"
22
import { useMutation } from "@tanstack/react-query"
3-
import { Trans,useTranslation } from "react-i18next"
3+
import { Trans, useTranslation } from "react-i18next"
44

55
import { Button } from "../../components/ui/button"
66
import { useCurrentModal } from "../../components/ui/modal"

src/renderer/src/modules/feed-column/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import { getReadonlyRoute } from "@renderer/atoms/route"
32
import { useUISettingKey } from "@renderer/atoms/settings/ui"
43
import { useSidebarActiveView } from "@renderer/atoms/sidebar"

src/renderer/src/modules/settings/tabs/wallet/my-wallet-section/create-wallet.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const CreateWallet = () => {
1616
PowerIcon: <i className="i-mgc-power translate-y-[2px] text-accent" />,
1717
strong: <strong />,
1818
}}
19-
/>
19+
/>
2020
</p>
2121
<div className="mt-4 text-right">
2222
<Button variant="primary" isLoading={mutation.isPending} onClick={() => mutation.mutate()}>

src/renderer/src/modules/settings/tabs/wallet/my-wallet-section/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ export const MyWalletSection = () => {
6868
target="_blank"
6969
href="https://scan.rss3.io/token/0xE06Af68F0c9e819513a6CD083EF6848E76C28CD8"
7070
rel="noreferrer noopener"
71-
/>
71+
/>
7272
),
7373
}}
74-
/>
74+
/>
7575
<p>{t("wallet.power.dailyClaim", { amount: DAILY_CLAIM_AMOUNT })}</p>
7676
</div>
7777
<SettingSectionTitle margin="compact" title={t("wallet.address.title")} />

wiki/contribute-i18n.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ To add support for a new language:
1919
2. Select the desired locale from the list.
2020

2121
3. The script will:
22+
2223
- Create new resource files for the selected locale
2324
- Update the necessary configuration files
2425

0 commit comments

Comments
 (0)