MSP-3325 add message.error and navigate in ApplicationsPage, ApplicationsContent and ModulesPage
This commit is contained in:
1 parent
759f432e6c
commit
039120aec0
3 files changed
+14
-7
No files matched your search
@@ -49,7 +49,8 @@ const ModulesPage = () => {
|
||||
|
||||
useEffect(() => {
|
||||
if (!isPageAvailable) {
|
||||
navigate(routePaths.error)
|
||||
navigate(routePaths.profile)
|
||||
message.error('Страница не найдена')
|
||||
}
|
||||
}, [isPageAvailable])
|
||||
|
||||
|
||||
Reference in new issue
Block a user