Skip to content

Commit

Permalink
refactor: Category controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Shenon69 committed Apr 9, 2024
1 parent c3b241e commit 765eb28
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import 'dart:math';

import 'package:get/get.dart';
import 'package:uni_junction/data/repositories/event/event_repository.dart';
import 'package:uni_junction/features/event/models/event/event_model.dart';
Expand Down Expand Up @@ -29,8 +27,7 @@ class CategoryController extends GetxController {
try {
final events = await eventRepository.getEventsByCategory(categoryName);
eventsByCategory.assignAll(events);
eventsByCategory.forEach((event) {
});
eventsByCategory.forEach((event) {});
} catch (e) {
print(e);
}
Expand Down

0 comments on commit 765eb28

Please sign in to comment.