12 lines
197 B
Swift
12 lines
197 B
Swift
struct ConversationState: Stateable {
|
|
var currentChat: Chat?
|
|
var currentMessages: [Message]
|
|
}
|
|
|
|
// MARK: Init
|
|
extension ConversationState {
|
|
init() {
|
|
currentMessages = []
|
|
}
|
|
}
|