Update command palette preview action to open new preview

This commit is contained in:
Andrew Kingston 2023-06-09 11:40:34 +01:00
parent 3439ac6aaf
commit e452c0bcd1
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@
name: "App",
description: "",
icon: "Play",
action: () => window.open(`/${$store.appId}`),
action: () => store.update(state => ({ ...state, showPreview: true })),
},
{
type: "Preview",