v3: fixed linter error, code format
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 41s

This commit is contained in:
khannurien
2026-06-22 17:31:21 +00:00
parent a1b71ad0c8
commit 26f5abfa4e
12 changed files with 31 additions and 39 deletions

View File

@@ -344,7 +344,9 @@ export function Dump() {
onClick={handleTitleSave}
disabled={titleSaving || !titleDraft.trim()}
>
{titleSaving ? <Trans>Saving</Trans> : <Trans>Save</Trans>}
{titleSaving
? <Trans>Saving</Trans>
: <Trans>Save</Trans>}
</button>
<button
type="button"

View File

@@ -94,7 +94,11 @@ export function DumpEdit() {
comment: comment.trim() || undefined,
isPrivate,
}
: { title: trimmedTitle, comment: comment.trim() || undefined, isPrivate };
: {
title: trimmedTitle,
comment: comment.trim() || undefined,
isPrivate,
};
res = await authFetch(`${API_URL}/api/dumps/${state.dump.id}`, {
method: "PUT",
body: JSON.stringify(body),

View File

@@ -11,7 +11,7 @@ import { useLocation } from "react-router";
import { AppHeader } from "../components/AppHeader.tsx";
import { PresenceRow } from "../components/PresenceRow.tsx";
import { FeedTabBar } from "../components/FeedTabBar.tsx";
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 { API_URL, DEFAULT_PAGE_SIZE } from "../config/api.ts";