refactor(component): abstract component selection from svelteRenderer function

This commit is contained in:
sethburkart123
2024-09-09 17:57:54 +10:00
parent 7ca4682adb
commit 7951358cd0
4 changed files with 21 additions and 29 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
browser.runtime.sendMessage({ type: 'currentTab', info: 'OpenChangelog' });
};
let { standalone } = $props<{ standalone: boolean }>();
let { standalone = false } = $props<{ standalone?: boolean }>();
onMount(() => {
if (!standalone) return;