Skip to content

Commit

Permalink
Remove unnecessary preview
Browse files Browse the repository at this point in the history
  • Loading branch information
nriedman committed Apr 6, 2024
1 parent 179ff76 commit 832e8bd
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions ENGAGEHF/Home.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,6 @@ struct HomeView: View {
}


#if DEBUG
#Preview {
let details = AccountDetails.Builder()
.set(\.userId, value: "[email protected]")
.set(\.name, value: PersonNameComponents(givenName: "Leland", familyName: "Stanford"))

return HomeView()
.previewWith(standard: ENGAGEHFStandard()) {
AccountConfiguration(building: details, active: MockUserIdPasswordAccountService())
}
}

#Preview {
CommandLine.arguments.append("--disableFirebase")
return HomeView()
Expand All @@ -64,4 +52,3 @@ struct HomeView: View {
}
}
}
#endif

0 comments on commit 832e8bd

Please sign in to comment.