v3: fixed linter error, code format
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 41s
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 41s
This commit is contained in:
@@ -77,8 +77,7 @@ function CommentNode({
|
||||
const replyEditorRef = useRef<TextEditorHandle>(null);
|
||||
const editEditorRef = useRef<TextEditorHandle>(null);
|
||||
|
||||
const { likeCounts, myLikes, castCommentLike, removeCommentLike } =
|
||||
useWS();
|
||||
const { likeCounts, myLikes, castCommentLike, removeCommentLike } = useWS();
|
||||
|
||||
const children = tree.get(comment.id) ?? [];
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Trans } from "@lingui/react/macro";
|
||||
import { useAuth } from "../hooks/useAuth.ts";
|
||||
import { type FeedTab, FEED_TABS } from "../config/feedTabs.ts";
|
||||
import { FEED_TABS, type FeedTab } from "../config/feedTabs.ts";
|
||||
import { useTabParam } from "../hooks/useTabParam.ts";
|
||||
import { TabBar } from "./TabBar.tsx";
|
||||
|
||||
|
||||
@@ -30,8 +30,7 @@ export function LikeButton(
|
||||
aria-label={liked ? t`Remove like` : t`Like`}
|
||||
title={disabled ? t`Log in to like` : undefined}
|
||||
>
|
||||
♥{" "}
|
||||
{count > 0
|
||||
♥ {count > 0
|
||||
? (
|
||||
<span
|
||||
ref={countRef}
|
||||
|
||||
@@ -28,8 +28,7 @@ export function VoteButton(
|
||||
aria-label={voted ? t`Remove vote` : t`Upvote`}
|
||||
title={disabled ? t`Log in to vote` : undefined}
|
||||
>
|
||||
▲{" "}
|
||||
{count > 0
|
||||
▲ {count > 0
|
||||
? (
|
||||
<span
|
||||
ref={countRef}
|
||||
|
||||
Reference in New Issue
Block a user