Skip to content

Commit

Permalink
feat: remove unused user status (enregistre)
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-rabot committed Sep 18, 2024
1 parent a8bf30e commit a8aa9be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/moderatorUsers/users/Users.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const USERS_PER_PAGE = 5;
const usersQuery = (filters: QueryFilters): string => {
const queryParameters = [];

if (filters.statut !== undefined && filters.statut !== UserStatus.NoStatus) {
if (filters.statut !== undefined) {
queryParameters.push(`statut=${filters.statut}`);
}

Expand Down
1 change: 0 additions & 1 deletion src/domain/ModerateurUsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export interface UserApiResponse {
}

export enum UserStatus {
NoStatus = 'ENREGISTRE',
Subsbribed = 'INSCRIT',
ToModerate = 'A_MODERER',
Validated = 'VALIDE',
Expand Down

0 comments on commit a8aa9be

Please sign in to comment.