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:
@@ -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 }[]);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user