⚰️ Remove unused code
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
import SwiftUI
|
||||
|
||||
struct SubView: View {
|
||||
var subs: [Subscription] = [
|
||||
Subscription(name: "Test", amount: 9.99),
|
||||
Subscription(name: "Test 2", amount: 9.99)
|
||||
]
|
||||
|
||||
var body: some View {
|
||||
VStack {
|
||||
ForEach(subs) {sub in
|
||||
Text(sub.name)
|
||||
}
|
||||
}
|
||||
.padding()
|
||||
}
|
||||
}
|
||||
|
||||
#Preview {
|
||||
SubView()
|
||||
}
|
||||
Reference in New Issue
Block a user