Skip to content

Commit

Permalink
Поправил редактор
Browse files Browse the repository at this point in the history
  • Loading branch information
YarikMix committed May 24, 2024
1 parent 88cc322 commit f4c3337
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions public/src/components/Collaborators/Collaborators.sass
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
color: $text-main-color

img
width: 48px
height: 48px
width: 36px
height: 36px
border-radius: 50%
cursor: pointer
opacity: 0.5
Expand Down
9 changes: 0 additions & 9 deletions public/src/components/NoteEditor/NoteEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {AppNoteStore, NoteStoreActions} from '../../modules/stores/NoteStore';
import {Modal} from '../Modal/Modal';
import {DeleteNoteDialog} from '../DeleteNoteDialog/DeleteNoteDialog';
import NoteMenu from "../NoteMenu/NoteMenu";
import {InviteUserModal} from "../InviteUserModal/InviteUserModal";
import {Tooltip} from "../Tooltip/Tooltip";
import {TagList} from "../TagList/TagList";
import {EditorWrapper} from "../Editor/EditorWrapper";
Expand Down Expand Up @@ -46,7 +45,6 @@ export class NoteEditor extends ScReact.Component<NoteEditorProps, NoteEditorTyp
selectedNote: null,
noteStatus: null,
deleteNoteModalOpen: false,
inviteUserModalOpen: false,
tagsModalOpen: false,
emojiModalOpen: false,
backgroundModalOpen: false,
Expand Down Expand Up @@ -112,8 +110,6 @@ export class NoteEditor extends ScReact.Component<NoteEditorProps, NoteEditorTyp
fullScreen: store.fullScreen
}));

console.log("updateState")
console.log(store.selectedNoteSynced)
if (store.selectedNoteSynced) {
this.setState(state => ({
...state,
Expand Down Expand Up @@ -298,11 +294,6 @@ export class NoteEditor extends ScReact.Component<NoteEditorProps, NoteEditorTyp
content={<DeleteNoteDialog onSuccess={this.deleteNote} handleClose={this.closeDeleteModalDialog}/>}
/>

<Modal open={this.state.inviteUserModalOpen}
handleClose={this.closeInviteUserModal}
content={<InviteUserModal handleClose={this.closeInviteUserModal} open={this.state.inviteUserModalOpen}/>}
/>

<Modal open={this.state.tagsModalOpen}
handleClose={this.closeTagsModal}
reset={false}
Expand Down

0 comments on commit f4c3337

Please sign in to comment.