refactor similar RepostsModel and ReactionsModel into one parent class

Closes: #650
This commit is contained in:
Bryan Montz
2023-02-19 08:06:40 -06:00
committed by William Casarin
parent 0bdec912f8
commit ff1815cce0
5 changed files with 65 additions and 135 deletions

View File

@@ -14,7 +14,7 @@ struct ReactionsView: View {
var body: some View {
ScrollView {
LazyVStack {
ForEach(model.reactions, id: \.id) { ev in
ForEach(model.events, id: \.id) { ev in
ReactionView(damus_state: damus_state, reaction: ev)
}
}