Skip to content

Commit

Permalink
撤销未登录时 navigate 的修改
Browse files Browse the repository at this point in the history
  • Loading branch information
gqye committed Jul 22, 2024
1 parent cea3ac2 commit d4a2af8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -981,9 +981,9 @@ function _Chat() {
) {
const copiedHello = Object.assign({}, BOT_HELLO);
if (!accessStore.isAuthorized()) {
// copiedHello.content = Locale.Error.Unauthorized;
navigate(Path.Auth)
return;
copiedHello.content = Locale.Error.Unauthorized;
// navigate(Path.Auth)
// return;
}
context.push(copiedHello);
}
Expand Down

0 comments on commit d4a2af8

Please sign in to comment.