From 703d106eb124b0abac4255b851f2543a34489abb Mon Sep 17 00:00:00 2001 From: Toby Date: Thu, 22 Aug 2024 02:57:58 +0400 Subject: [PATCH] Add new lines --- src/components/add-user-modal/user-modal.ts | 2 +- src/components/chat-body/chat-body.hbs | 2 +- src/components/chat-body/chat-body.less | 2 -- src/components/chat-body/chat-body.ts | 2 +- src/components/chat-create/chat-create.hbs | 2 +- src/components/chat-create/chat-create.ts | 2 +- src/components/chat-item/chat-item.ts | 2 +- src/components/chat-list/chat-list.ts | 2 +- src/components/chat-menu/chat-menu.less | 2 +- src/components/chat-menu/chat-menu.ts | 2 +- src/components/menu-button/menu-button.less | 2 +- src/components/search/search.hbs | 2 +- src/controllers/ChatController.ts | 2 +- src/controllers/MessageController.ts | 2 +- src/core/Socket.ts | 2 +- src/core/Store.ts | 2 +- src/utils/helpers.ts | 2 +- 17 files changed, 16 insertions(+), 18 deletions(-) diff --git a/src/components/add-user-modal/user-modal.ts b/src/components/add-user-modal/user-modal.ts index b47244c..50018db 100644 --- a/src/components/add-user-modal/user-modal.ts +++ b/src/components/add-user-modal/user-modal.ts @@ -103,4 +103,4 @@ export const UserModal = connect((state) => { selectedChatId: state.selectedChat?.id, currentChatUsers: state?.currentChatUsers || [] } -})(UserModalBase); \ No newline at end of file +})(UserModalBase); diff --git a/src/components/chat-body/chat-body.hbs b/src/components/chat-body/chat-body.hbs index 8b50fd2..047aabb 100644 --- a/src/components/chat-body/chat-body.hbs +++ b/src/components/chat-body/chat-body.hbs @@ -36,4 +36,4 @@

Select a chat to start messaging

-{{/if}} \ No newline at end of file +{{/if}} diff --git a/src/components/chat-body/chat-body.less b/src/components/chat-body/chat-body.less index acac4b4..ab74d29 100644 --- a/src/components/chat-body/chat-body.less +++ b/src/components/chat-body/chat-body.less @@ -137,5 +137,3 @@ } } } - - diff --git a/src/components/chat-body/chat-body.ts b/src/components/chat-body/chat-body.ts index 1f923a2..dfd0bba 100644 --- a/src/components/chat-body/chat-body.ts +++ b/src/components/chat-body/chat-body.ts @@ -73,4 +73,4 @@ export const ChatBody = connect((state) => { isOpenChatMenu: state.isOpenChatMenu || false, isAddUserOpen: state.isAddUserOpen || false, }; -})(ChatBodyBase); \ No newline at end of file +})(ChatBodyBase); diff --git a/src/components/chat-create/chat-create.hbs b/src/components/chat-create/chat-create.hbs index 132f7ed..6398a17 100644 --- a/src/components/chat-create/chat-create.hbs +++ b/src/components/chat-create/chat-create.hbs @@ -13,4 +13,4 @@ - \ No newline at end of file + diff --git a/src/components/chat-create/chat-create.ts b/src/components/chat-create/chat-create.ts index a331217..d4f498e 100644 --- a/src/components/chat-create/chat-create.ts +++ b/src/components/chat-create/chat-create.ts @@ -74,4 +74,4 @@ export const ChatCreate = connect((state) => { error: state.createChatError, success: state.createChatSuccess }; -})(ChatCreateBase); \ No newline at end of file +})(ChatCreateBase); diff --git a/src/components/chat-item/chat-item.ts b/src/components/chat-item/chat-item.ts index 0f04dc3..877ccdb 100644 --- a/src/components/chat-item/chat-item.ts +++ b/src/components/chat-item/chat-item.ts @@ -28,4 +28,4 @@ export class ChatItem extends Block { render(): string { return ChatItemTmpl; } -} \ No newline at end of file +} diff --git a/src/components/chat-list/chat-list.ts b/src/components/chat-list/chat-list.ts index 12f564a..e94db48 100644 --- a/src/components/chat-list/chat-list.ts +++ b/src/components/chat-list/chat-list.ts @@ -39,4 +39,4 @@ export const ChatList = connect((state) => { chats: state.chats || [], currentChat: state.currentChat }; -})(ChatListBase); \ No newline at end of file +})(ChatListBase); diff --git a/src/components/chat-menu/chat-menu.less b/src/components/chat-menu/chat-menu.less index f9fdb34..b9f3148 100644 --- a/src/components/chat-menu/chat-menu.less +++ b/src/components/chat-menu/chat-menu.less @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/components/chat-menu/chat-menu.ts b/src/components/chat-menu/chat-menu.ts index eaf1a15..8f85f2d 100644 --- a/src/components/chat-menu/chat-menu.ts +++ b/src/components/chat-menu/chat-menu.ts @@ -51,4 +51,4 @@ export const ChatMenu = connect((state) => { isUserSearchEnabled: state.isUserSearchEnabled || false, usersList: state.usersList || false }; -})(ChatMenuBase); \ No newline at end of file +})(ChatMenuBase); diff --git a/src/components/menu-button/menu-button.less b/src/components/menu-button/menu-button.less index df43492..38f5fff 100644 --- a/src/components/menu-button/menu-button.less +++ b/src/components/menu-button/menu-button.less @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/components/search/search.hbs b/src/components/search/search.hbs index 8e5678f..5a956b4 100644 --- a/src/components/search/search.hbs +++ b/src/components/search/search.hbs @@ -23,4 +23,4 @@ {{/if}} - \ No newline at end of file + diff --git a/src/controllers/ChatController.ts b/src/controllers/ChatController.ts index 406f288..aa55cd7 100644 --- a/src/controllers/ChatController.ts +++ b/src/controllers/ChatController.ts @@ -127,4 +127,4 @@ class ChatController { } } -export default new ChatController(); \ No newline at end of file +export default new ChatController(); diff --git a/src/controllers/MessageController.ts b/src/controllers/MessageController.ts index 2703e8d..fc95b01 100644 --- a/src/controllers/MessageController.ts +++ b/src/controllers/MessageController.ts @@ -77,4 +77,4 @@ export class MessageController { } Store.set('currentChatMessages', newChatMessages); } -} \ No newline at end of file +} diff --git a/src/core/Socket.ts b/src/core/Socket.ts index cdac673..81cea87 100644 --- a/src/core/Socket.ts +++ b/src/core/Socket.ts @@ -92,4 +92,4 @@ class Socket { } } -export default Socket; \ No newline at end of file +export default Socket; diff --git a/src/core/Store.ts b/src/core/Store.ts index fecc917..e018166 100644 --- a/src/core/Store.ts +++ b/src/core/Store.ts @@ -62,4 +62,4 @@ class Store extends EventBus { } } -export default new Store(); \ No newline at end of file +export default new Store(); diff --git a/src/utils/helpers.ts b/src/utils/helpers.ts index e5c6469..e632b81 100644 --- a/src/utils/helpers.ts +++ b/src/utils/helpers.ts @@ -24,4 +24,4 @@ Handlebars.registerHelper('formatDate', function(dateString: string): string { Handlebars.registerHelper('firstLetter', function(str: string) { return str ? str.charAt(0).toUpperCase() : ''; -}); \ No newline at end of file +});