feat(character-detail) 대화하기 버튼 액션 추가

- 채팅방 생성 API 호출
This commit is contained in:
Yu Sung
2025-09-04 01:31:36 +09:00
parent 154ca01a74
commit 96cabbc6a7
6 changed files with 55 additions and 3 deletions

View File

@@ -15,6 +15,8 @@ struct ChatRoomView: View {
@AppStorage("can") private var can: Int = UserDefaults.int(forKey: .can)
let roomId: Int
var body: some View {
BaseView(isLoading: $viewModel.isLoading) {
ChatRoomBgView()
@@ -207,5 +209,5 @@ struct ChatRoomBgView: View {
}
#Preview {
ChatRoomView()
ChatRoomView(roomId: 0)
}