Skip to content

Commit

Permalink
add optional id param in customContent
Browse files Browse the repository at this point in the history
  • Loading branch information
alfianlosari committed Jun 8, 2024
1 parent c32325f commit e0263fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ChatGPTUI/Models/MessageRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public struct MessageRow<CustomContent: View>: Identifiable {
public enum MessageRowType<CustomContent: View> {
case attributed(AttributedOutput)
case rawText(String)
case customContent((_ messageRowId: UUID?) -> CustomContent)
case customContent((_ id: UUID?) -> CustomContent)

public var text: String {
switch self {
Expand Down

0 comments on commit e0263fd

Please sign in to comment.