Skip to content

Commit edda860

Browse files
committed
feat(coretax): add layout for main
1 parent 582ce75 commit edda860

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

src/coretax/ui/constant.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const TIMEOUT = 60_000;

src/coretax/ui/layout.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { TIMEOUT } from "@/coretax/ui/constant.ts";
2+
import { waitElement } from "@/lib/dom.ts";
3+
4+
export async function Main() {
5+
const main = await waitElement(
6+
"ui-coretax-one-column-layout",
7+
document.body,
8+
TIMEOUT,
9+
);
10+
11+
return main;
12+
}

0 commit comments

Comments
 (0)