Skip to content

Commit

Permalink
Add new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
VladToby committed Aug 21, 2024
1 parent d7b2323 commit 703d106
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/components/add-user-modal/user-modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ export const UserModal = connect((state) => {
selectedChatId: state.selectedChat?.id,
currentChatUsers: state?.currentChatUsers || []
}
})(UserModalBase);
})(UserModalBase);
2 changes: 1 addition & 1 deletion src/components/chat-body/chat-body.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
<div class="no-chat-selected">
<p>Select a chat to start messaging</p>
</div>
{{/if}}
{{/if}}
2 changes: 0 additions & 2 deletions src/components/chat-body/chat-body.less
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,3 @@
}
}
}


2 changes: 1 addition & 1 deletion src/components/chat-body/chat-body.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ export const ChatBody = connect((state) => {
isOpenChatMenu: state.isOpenChatMenu || false,
isAddUserOpen: state.isAddUserOpen || false,
};
})(ChatBodyBase);
})(ChatBodyBase);
2 changes: 1 addition & 1 deletion src/components/chat-create/chat-create.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
</form>
<button class="close-modal">Close</button>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion src/components/chat-create/chat-create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ export const ChatCreate = connect((state) => {
error: state.createChatError,
success: state.createChatSuccess
};
})(ChatCreateBase);
})(ChatCreateBase);
2 changes: 1 addition & 1 deletion src/components/chat-item/chat-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ export class ChatItem extends Block {
render(): string {
return ChatItemTmpl;
}
}
}
2 changes: 1 addition & 1 deletion src/components/chat-list/chat-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ export const ChatList = connect((state) => {
chats: state.chats || [],
currentChat: state.currentChat
};
})(ChatListBase);
})(ChatListBase);
2 changes: 1 addition & 1 deletion src/components/chat-menu/chat-menu.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion src/components/chat-menu/chat-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ export const ChatMenu = connect((state) => {
isUserSearchEnabled: state.isUserSearchEnabled || false,
usersList: state.usersList || false
};
})(ChatMenuBase);
})(ChatMenuBase);
2 changes: 1 addition & 1 deletion src/components/menu-button/menu-button.less
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion src/components/search/search.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
</ul>
{{/if}}
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion src/controllers/ChatController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,4 @@ class ChatController {
}
}

export default new ChatController();
export default new ChatController();
2 changes: 1 addition & 1 deletion src/controllers/MessageController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ export class MessageController {
}
Store.set('currentChatMessages', newChatMessages);
}
}
}
2 changes: 1 addition & 1 deletion src/core/Socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ class Socket {
}
}

export default Socket;
export default Socket;
2 changes: 1 addition & 1 deletion src/core/Store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ class Store extends EventBus {
}
}

export default new Store();
export default new Store();
2 changes: 1 addition & 1 deletion src/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Handlebars.registerHelper('formatDate', function(dateString: string): string {

Handlebars.registerHelper('firstLetter', function(str: string) {
return str ? str.charAt(0).toUpperCase() : '';
});
});

0 comments on commit 703d106

Please sign in to comment.