Skip to content

Commit e0263fd

Browse files
committed
add optional id param in customContent
1 parent c32325f commit e0263fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ChatGPTUI/Models/MessageRow.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public struct MessageRow<CustomContent: View>: Identifiable {
3333
public enum MessageRowType<CustomContent: View> {
3434
case attributed(AttributedOutput)
3535
case rawText(String)
36-
case customContent((_ messageRowId: UUID?) -> CustomContent)
36+
case customContent((_ id: UUID?) -> CustomContent)
3737

3838
public var text: String {
3939
switch self {

0 commit comments

Comments
 (0)