MOBILE-4616 chat: Move chat constants to a file

main
Pau Ferrer Ocaña 2024-07-11 17:12:53 +02:00
parent f65d640999
commit e115e840c1
2 changed files with 2 additions and 2 deletions

View File

@ -80,4 +80,4 @@ const routes: Routes = [
AddonModChatSessionMessagesPage, AddonModChatSessionMessagesPage,
], ],
}) })
export class AddonModChatLazyModule {} export default class AddonModChatLazyModule {}

View File

@ -28,7 +28,7 @@ import { ADDON_MOD_CHAT_COMPONENT, ADDON_MOD_CHAT_PAGE_NAME } from './constants'
const routes: Routes = [ const routes: Routes = [
{ {
path: ADDON_MOD_CHAT_PAGE_NAME, path: ADDON_MOD_CHAT_PAGE_NAME,
loadChildren: () => import('./chat-lazy.module').then(m => m.AddonModChatLazyModule), loadChildren: () => import('./chat-lazy.module'),
}, },
]; ];