Skip to content

Commit 05e8e96

Browse files
author
khanhkhanhlele
committed
Fix typos in some files
1 parent 8991d8a commit 05e8e96

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Core/Sources/ConversationTab/ChatPanel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ struct ChatPanelMessages: View {
337337
}
338338
} else {
339339
Task {
340-
// Scoll to bottom when `isReceiving` changes to `false`
340+
// Scroll to bottom when `isReceiving` changes to `false`
341341
if pinnedToBottom {
342342
await Task.yield()
343343
withAnimation(.easeInOut(duration: 0.1)) {

Core/Sources/ConversationTab/ConversationTab.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class ConversationTab: ChatTab {
2626

2727
// Get chat tab title. As the tab title is always "Chat" and won't be modified.
2828
// Use the chat title as the tab title.
29-
// TODO: modify tab title dynamicly
29+
// TODO: modify tab title dynamically
3030
public func getChatTabTitle() -> String {
3131
return chat.title
3232
}
@@ -157,7 +157,7 @@ public class ConversationTab: ChatTab {
157157
let service = ChatService.service(for: chatTabInfo)
158158
let tab = ConversationTab(service: service, store: store, with: chatTabInfo)
159159

160-
// lazy restore converstaion tab for not selected
160+
// lazy restore conversation tab for not selected
161161
if chatTabInfo.isSelected {
162162
tab.restoreIfNeeded()
163163
}

Core/Sources/ConversationTab/Views/ChatPanelInputArea/InputAreaTextEditor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ struct InputAreaTextEditor: View {
149149
await onTypedMessageChanged(newValue: newValue)
150150
}
151151
}
152-
/// When chat mode changed, the chat tamplate and agent need to be reloaded
152+
/// When chat mode changed, the chat template and agent need to be reloaded
153153
.onChange(of: chat.isAgentMode) { _ in
154154
guard isEditorActive else { return }
155155
Task {

0 commit comments

Comments
 (0)