Skip to content

Commit b3cee6f

Browse files
committed
fix(tui): 移除重复的重试弹窗
1 parent ba76b1e commit b3cee6f

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎packages/tui/src/routes/session/index.tsx‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -624,8 +624,6 @@ export function Session() {
624624
type: "session",
625625
sessionID,
626626
})
627-
const status = sync.data.session_status[sessionID]
628-
if (status?.type === "retry") void DialogAlert.show(dialog, i18n.t("tui.retry_error"), status.message)
629627
}
630628

631629
function moveFirstChild() {
@@ -3134,8 +3132,6 @@ function Task(props: ToolProps) {
31343132
if (sessionID()) {
31353133
navigate({ type: "session", sessionID: sessionID()! })
31363134
}
3137-
const status = retry()
3138-
if (status) void DialogAlert.show(dialog, t(Locale.language(), "tui.retry_error"), status.message)
31393135
}}
31403136
>
31413137
{content()}

0 commit comments

Comments
 (0)