fix(vendor): pass bsrData prop to VendorDataView - resolves black screen

VendorDataView was refactored to receive BSR data as a prop but App.tsx
was not updated to pass it, causing the component to crash on undefined
and show a blank screen. Also fixes supabase.ts type errors and removes
dead code.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
christian.vidal
2026-03-02 18:32:38 +01:00
co-authored by Claude Sonnet 4.6
parent 243c44c7f7
commit ce13d17eda
2 changed files with 9 additions and 14 deletions
+1 -1
View File
@@ -959,7 +959,7 @@ const App: React.FC = () => {
<Suspense fallback={<LoadingSpinner />}>
<div className={view === 'vendor' ? '' : 'hidden'}>
<VendorDataView />
<VendorDataView bsrData={bsrData} />
</div>
</Suspense>