Fix TypeScript build errors

- Remove unused imports in invites.ts
- Fix InviteManagement component (remove unused props, unneeded code)
- Fix BandPage.tsx (remove currentMemberId, remove UserSearch for now)
- Remove unused imports in types/invite.ts

Build errors resolved:
- TS6133: unused variables
- TS2304: missing variables
- TS2307: module not found

Note: UserSearch temporarily disabled - needs backend support for listing non-members

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Mistral Vibe
2026-04-01 11:53:00 +02:00
parent 81c90222d5
commit 2aa8ec8c59
4 changed files with 7 additions and 27 deletions

View File

@@ -42,6 +42,6 @@ export const createInvite = (
*/
export const listNonMemberUsers = (bandId: string, search?: string) => {
// TODO: Implement this backend endpoint if needed
// For now, can use existing member search with filter
// For now, just return empty - the invite flow works with tokens
return Promise.resolve([] as { id: string; display_name: string; email: string }[]);
};