Skip to content

Commit

Permalink
fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
gonpombo8 committed Feb 12, 2025
1 parent 86f88c2 commit 90acf86
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion packages/main/src/modules/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@ export async function dclDeepLink(deepLink: string) {
try {
await exec(`${command} decentraland://"${deepLink}"`);
} catch (e) {
log.error('Failed to open Decentraland. The Decentraland Launcher must be installed: https://decentraland.org/download/');
log.error(
'Failed to open Decentraland. The Decentraland Launcher must be installed: https://decentraland.org/download/',
);
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/modules/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export async function killPreview(path: string) {
await promise;
}

type Preview = { child: Child; previewURL: string }
type Preview = { child: Child; previewURL: string };
export const previewCache: Map<string, Preview> = new Map();

export async function start(path: string, retry = true) {
Expand Down
1 change: 0 additions & 1 deletion packages/renderer/src/hooks/useEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export const useEditor = () => {
}
}, [project, editorActions.killPreviewScene]);


const openCode = useCallback(() => {
if (project) {
editorApi.openCode(project.path);
Expand Down
5 changes: 4 additions & 1 deletion packages/renderer/src/modules/store/editor/slice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ export const install = createAsyncThunk('editor/install', editor.install);
export const startInspector = createAsyncThunk('editor/startInspector', editor.startInspector);
export const runScene = createAsyncThunk('editor/runScene', editor.runScene);
export const publishScene = createAsyncThunk('editor/publishScene', editor.publishScene);
export const killPreviewScene = createAsyncThunk('editor/killPreviewScene', editor.killPreviewScene);
export const killPreviewScene = createAsyncThunk(
'editor/killPreviewScene',
editor.killPreviewScene,
);
export const openTutorial = createAsyncThunk('editor/openTutorial', editor.openTutorial);

// state
Expand Down

0 comments on commit 90acf86

Please sign in to comment.