From 10355126010a4fd73272d4d4aadff5a211524b39 Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Fri, 13 Jan 2023 20:03:16 +0000 Subject: [PATCH] fix `app.no_session` event showing notification on index --- packages/app/src/App.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/src/App.jsx b/packages/app/src/App.jsx index 1f75f357..12405e98 100755 --- a/packages/app/src/App.jsx +++ b/packages/app/src/App.jsx @@ -168,7 +168,7 @@ class App extends React.Component { "app.no_session": async () => { const location = window.location.pathname - if (location !== "/login" && location !== "/register") { + if (location !== "/" && location !== "/login" && location !== "/register") { antd.notification.info({ message: "You are not logged in, to use some features you will need to log in.", btn: app.goAuth()}>Login,