Skip to content

Commit cb61dc7

Browse files
committed
Add error overlay
1 parent 5cd1b14 commit cb61dc7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Tool/Sources/CodeiumService/ChatTab/CodeiumChatView.swift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@ struct BrowserView: View {
2020
ProgressView()
2121
}
2222
}
23+
.overlay {
24+
if let error = store.error {
25+
VStack {
26+
Text(error)
27+
Button("Load Current Workspace") {
28+
store.send(.loadCurrentWorkspace)
29+
}
30+
}
31+
}
32+
}
2333
}
2434
}
2535
}

0 commit comments

Comments
 (0)