Skip to content

Commit

Permalink
Remove unnecessary self
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelacaron authored Nov 29, 2023
1 parent 85639c8 commit 68ea954
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ struct DashboardView: View {
@State private var selectedMaintenanceEvent: MaintenanceEvent?

init(userUID: String?) {
self._viewModel = State(initialValue: DashboardViewModel(userUID: userUID))
_viewModel = State(initialValue: DashboardViewModel(userUID: userUID))
}

private var eventDateFormat: DateFormatter = {
Expand Down

0 comments on commit 68ea954

Please sign in to comment.