Skip to content

Commit

Permalink
Finished Sprint 3 - Fixing some eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-aladzyeu committed Oct 15, 2023
1 parent a6a651a commit f4df700
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/dialog-chat-menu/dialog-chat-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class DialogChatMenu extends Block {
onDeleteChat: () => {
deleteChat()
.then(() => window.store.set({ isOpenDialogChatMenu: false }))
.catch((error) => console.log('Error deleting chat',error));
.catch((error) => console.log('Error deleting chat', error));
},
onAddUser: () => {
window.store.set({
Expand Down
4 changes: 2 additions & 2 deletions src/components/dialog-choice-user/dialog-choice-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ class DialogChoiceUser extends Block {
if (user) {
if (this.props.loginSearch) {
addUserToChat(transformToUser(user as User))
.catch((error) => console.log('Error adding user',error));
.catch((error) => console.log('Error adding user', error));
} else {
deleteUserToChat(transformToUser(user as User))
.catch((error) => console.log('Error deleting user',error));
.catch((error) => console.log('Error deleting user', error));
}
window.store.set({ isOpenDialogChoiceUser: false, searchChatUsers: [] });
}
Expand Down
3 changes: 2 additions & 1 deletion src/partials/info/info-bar.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
import './info-bar.sass'
import './info-bar.sass';

export { default as InfoBar } from './info-bar.hbs?raw';

0 comments on commit f4df700

Please sign in to comment.