This repository was archived by the owner on Oct 25, 2023. It is now read-only.
File tree 3 files changed +1
-273
lines changed
3 files changed +1
-273
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ import CopyImg from './../img/copy.png'
18
18
import ArchiveImg from './../img/archive.png'
19
19
import DeleteImg from './../img/delete.png'
20
20
21
- import { ShareModal } from './ShareModal'
22
-
23
21
import { MzdGlobalContext } from '../lib/global'
24
22
import { NotificationToast } from '../lib/Toaster'
25
23
import { slateToMarkdown } from 'librarius'
@@ -51,24 +49,14 @@ function nodeToMarkdown(node) {
51
49
class PrivateFullCardFootbarImpl extends React . Component {
52
50
constructor ( props ) {
53
51
super ( props )
54
- this . state = {
55
- modalShareShow : false ,
56
- }
52
+ this . state = { }
57
53
this . deleteAbortController = new AbortController ( )
58
54
}
59
55
60
56
static propTypes = {
61
57
history : PropTypes . object . isRequired ,
62
58
}
63
59
64
- hideShareDialog = ( event ) => {
65
- this . setState ( { modalShareShow : false } )
66
- }
67
-
68
- showShareDialog = ( event ) => {
69
- this . setState ( { modalShareShow : true } )
70
- }
71
-
72
60
handleCopyMarkdown = ( ) => {
73
61
const toaster = this . props . context . toaster
74
62
this . props . getMarkdown ( ) . then ( ( md ) => {
@@ -201,11 +189,6 @@ class PrivateFullCardFootbarImpl extends React.Component {
201
189
</ FootbarDropdownMenu >
202
190
</ FootbarDropdown >
203
191
</ div >
204
- < ShareModal
205
- show = { this . state . modalShareShow }
206
- nid = { this . props . nid }
207
- onHide = { this . hideShareDialog }
208
- />
209
192
</ >
210
193
)
211
194
}
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments