fix: remove duplicate static export spinner

This commit is contained in:
Oleg Isonen committed 2026-11-15 16:14:42 +00:00
1 parent 4ad35a1940
commit 476f82befe
2 files changed
+5 -3

No files matched your search

@@ -170,6 +170,11 @@ test("reopening an active static publish keeps one status owner and one download
await render(false);
await render(true);
expect(staticButton()?.dataset.state).toBe("pending");
expect(
document.body.querySelector(
'button[aria-label="Publish log: Static export"] svg style'
)
).toBeNull();
getJobStatus = "success";
await act(async () => vi.advanceTimersByTimeAsync(15_000));
await vi.waitFor(async () => {
@@ -76,7 +76,6 @@ import {
InfoCircleIcon,
EllipsesIcon,
PlusIcon,
SpinnerIcon,
TerminalIcon,
} from "@webstudio-is/icons";
import { AddDomain } from "./add-domain";
@@ -662,8 +661,6 @@ const PublishStatic = ({
<AlertIcon />
) : logStatus === "PUBLISHED" ? (
<CheckCircleIcon />
) : logStatus === "PENDING" ? (
<SpinnerIcon />
) : (
<InfoCircleIcon />
)}