Remove redundant 'View Leads List' button from Add Lead tab

This commit is contained in:
Scott Idem
2026-02-08 20:00:57 -05:00
parent f2e5fccc8d
commit 224e03405c

View File

@@ -3,7 +3,7 @@
* src/routes/events/[event_id]/(leads)/leads/exhibit/[exhibit_id]/ae_tab__add.svelte
* Tab 2: Add - Search / QR Scan Layout.
*/
import { QrCode, Search, List } from 'lucide-svelte';
import { QrCode, Search } from 'lucide-svelte';
import Comp_lead_qr_scanner from './ae_comp__lead_qr_scanner.svelte';
import Comp_lead_manual_search from './ae_comp__lead_manual_search.svelte';
import { events_loc } from '$lib/stores/ae_events_stores';
@@ -55,19 +55,4 @@
<Comp_lead_manual_search {exhibit_id} on_lead_added={handle_lead_added} />
{/if}
</div>
<!-- Quick Navigation -->
<div class="pt-8 w-full border-t border-surface-500/20 flex justify-center pb-10">
<button
type="button"
class="btn btn-sm variant-soft-surface opacity-70 hover:opacity-100 transition-opacity"
onclick={() => {
// This would be handled by the parent's active_tab state
// Assuming we can pass a prop or use a store to switch tabs
}}
>
<List size="1.2em" class="mr-2" />
View Leads List
</button>
</div>
</div>