Skip to content

Commit afb5d16

Browse files
committed
fix: resolved minor issue and removed a unused element to solve lint error caught during check
1 parent 27f89ef commit afb5d16

File tree

2 files changed

+5
-21
lines changed

2 files changed

+5
-21
lines changed

src/lib/components/sidebar.svelte

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,6 @@
268268
}}
269269
>Feedback
270270
</Button.Button>
271-
<svelte:fragment slot="other">
272-
{#if $isSmallViewport}
273-
<MobileFeedbackModal />
274-
{/if}
275-
</svelte:fragment>
276271
</DropList>
277272

278273
<DropList show={$showSupportModal} scrollable>
@@ -284,11 +279,6 @@
284279
trackEvent(Click.SupportOpenClick, { source: 'side_nav' });
285280
}}>
286281
<span>Support</span>
287-
288-
<svelte:fragment slot="other">
289-
<MobileSupportModal bind:show={$showSupportModal}
290-
></MobileSupportModal>
291-
</svelte:fragment>
292282
</Button.Button>
293283
</DropList>
294284
</Layout.Stack>
@@ -330,11 +320,6 @@
330320
}}
331321
><span>Feedback</span>
332322
</Button.Button>
333-
<svelte:fragment slot="other">
334-
{#if $isSmallViewport}
335-
<MobileFeedbackModal />
336-
{/if}
337-
</svelte:fragment>
338323
</DropList>
339324

340325
<DropList show={$showSupportModal} scrollable>
@@ -346,11 +331,6 @@
346331
trackEvent(Click.SupportOpenClick, { source: 'side_nav' });
347332
}}>
348333
<span>Support</span>
349-
350-
<svelte:fragment slot="other">
351-
<MobileSupportModal bind:show={$showSupportModal}
352-
></MobileSupportModal>
353-
</svelte:fragment>
354334
</Button.Button>
355335
</DropList>
356336
</Layout.Stack>
@@ -361,6 +341,11 @@
361341
</Sidebar.Base>
362342
</div>
363343

344+
{#if $isSmallViewport}
345+
<MobileFeedbackModal />
346+
<MobileSupportModal bind:show={$showSupportModal} />
347+
{/if}
348+
364349
{#if subNavigation}
365350
<div class="sub-navigation" class:icons={state === 'icons'}>
366351
<svelte:component this={subNavigation} />

src/routes/(console)/organization-[organization]/createMember.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
name: string,
2727
error: string,
2828
role: string = isSelfHosted ? 'owner' : 'developer';
29-
emailInput: HTMLInputElement;
3029
3130
async function create() {
3231
try {

0 commit comments

Comments
 (0)