Page MenuHomePhabricator

D10163.diff
No OneTemporary

D10163.diff

diff --git a/web/components/stepper.react.js b/web/components/stepper.react.js
--- a/web/components/stepper.react.js
+++ b/web/components/stepper.react.js
@@ -11,7 +11,7 @@
+content: React.Node,
+disabled?: boolean,
+loading?: boolean,
- +onClick: () => void,
+ +onClick: () => mixed,
};
type ButtonType = 'prev' | 'next';
diff --git a/web/modals/threads/create/compose-subchannel-modal.react.js b/web/modals/threads/create/compose-subchannel-modal.react.js
--- a/web/modals/threads/create/compose-subchannel-modal.react.js
+++ b/web/modals/threads/create/compose-subchannel-modal.react.js
@@ -214,9 +214,7 @@
content: 'Create',
loading: loadingState === 'loading',
disabled: selectedUsers.size === 0,
- onClick: () => {
- dispatchCreateSubchannel();
- },
+ onClick: dispatchCreateSubchannel,
},
},
}),

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 9:01 AM (13 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2584087
Default Alt Text
D10163.diff (911 B)

Event Timeline