Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
refactor: preview module
Browse files Browse the repository at this point in the history
  • Loading branch information
windingwind committed Jun 24, 2023
1 parent 6a787cb commit 982be4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
initPreviewResizeListener,
initTabSelectListener,
} from "./modules/listeners";
import { preview } from "./preview";
import { preview } from "./modules/preview";

async function onStartup() {
await Promise.all([
Expand Down
6 changes: 3 additions & 3 deletions src/preview.ts → src/modules/preview.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { getPref } from "./utils/prefs";
import { getPref } from "../utils/prefs";
import {
Annotation,
PreviewType,
RELOAD_COUNT,
getContainerId,
isDev,
} from "./utils/type";
import { waitUtilAsync } from "./utils/wait";
} from "../utils/type";
import { waitUtilAsync } from "../utils/wait";

export { preview };

Expand Down

0 comments on commit 982be4b

Please sign in to comment.