mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-12-02 13:25:40 +09:00
fix: remove duplicate static export spinner
This commit is contained in:
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 />
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user