11 lines
290 B
JavaScript
11 lines
290 B
JavaScript
import { derived } from "svelte/store"
|
|
import { appStore } from "../app.js"
|
|
import { builderStore } from "../builder.js"
|
|
|
|
export const devToolsEnabled = derived(
|
|
[appStore, builderStore],
|
|
([$appStore, $builderStore]) => {
|
|
return !$builderStore.inBuilder && $appStore.isDevApp
|
|
}
|
|
)
|