refactor: dms view init logic

This commit is contained in:
William Casarin
2023-04-14 10:17:24 -07:00
parent 8c19ec1532
commit 40468b1603
2 changed files with 5 additions and 7 deletions

View File

@@ -185,7 +185,6 @@ struct ContentView: View {
case .dms:
DirectMessagesView(damus_state: damus_state!)
.environmentObject(home.dms)
case .none:
EmptyView()