Skip to content

Commit

Permalink
⚡️ :: DI
Browse files Browse the repository at this point in the history
  • Loading branch information
juyeong525 committed Mar 20, 2024
1 parent 8abd36b commit c3fdd32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Projects/Presentation/Sources/DI/PresentationAssembly.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ public final class PresentationAssembly: Assembly {
OauthLoginViewController(resolver.resolve(OauthLoginReactor.self)!)
}

container.register(EmailLoginReactor.self) { _ in
EmailLoginReactor()
container.register(EmailLoginReactor.self) { resolver in
EmailLoginReactor(loginUseCase: resolver.resolve(LoginUseCase.self)!)
}
container.register(EmailLoginViewController.self) { resolver in
EmailLoginViewController(resolver.resolve(EmailLoginReactor.self)!)
Expand Down

0 comments on commit c3fdd32

Please sign in to comment.