diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-11-23 10:52:52 -0500 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-11-23 12:11:11 -0500 |
commit | 388dc6c89c62133c3c5fd1c3bb5ec0327cf5be6d (patch) | |
tree | 42b0d26b00915c755fe160f775cac26b13c353e0 /web/react/components/delete_post_modal.jsx | |
parent | 6016f91358fa81c01de72011bb34c98cf2851751 (diff) | |
download | chat-388dc6c89c62133c3c5fd1c3bb5ec0327cf5be6d.tar.gz chat-388dc6c89c62133c3c5fd1c3bb5ec0327cf5be6d.tar.bz2 chat-388dc6c89c62133c3c5fd1c3bb5ec0327cf5be6d.zip |
Moved show static methods out of modals and into EventHelpers
Diffstat (limited to 'web/react/components/delete_post_modal.jsx')
-rw-r--r-- | web/react/components/delete_post_modal.jsx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/web/react/components/delete_post_modal.jsx b/web/react/components/delete_post_modal.jsx index fab5b60ea..3c4b17905 100644 --- a/web/react/components/delete_post_modal.jsx +++ b/web/react/components/delete_post_modal.jsx @@ -159,13 +159,4 @@ export default class DeletePostModal extends React.Component { </Modal> ); } - - static show(post, commentCount) { - AppDispatcher.handleViewAction({ - type: ActionTypes.TOGGLE_DELETE_POST_MODAL, - value: true, - post, - commentCount: commentCount || 0 - }); - } } |