{#if loading}
{:else}
{#if activeTab === 'themes'}
{#if searchTerm === ''}
{/if}
(showSignInOverlay = true)}
/>
{#if displayTheme}
(showSignInOverlay = true)}
onInstall={async (themeId: string) => {
if (displayTheme) await installThemeFromStore(themeId, displayTheme);
}}
onRemove={async (themeId: string) => {
console.debug('deleting theme', themeId);
await removeThemeFromStore(themeId);
}}
/>
{/if}
{:else if activeTab === 'backgrounds'}
{/if}
{/if}