]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix wrong proptypes for onEditAccountNote
authorThibG <thib@sitedethib.com>
Sun, 2 Aug 2020 09:20:02 +0000 (11:20 +0200)
committerThibaut Girka <thib@sitedethib.com>
Sun, 2 Aug 2020 12:34:56 +0000 (14:34 +0200)
Port 5faf2de93891db822d78c92f2bc2cdc33c3605c1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/features/account/components/header.js
app/javascript/flavours/glitch/features/account_timeline/components/header.js

index 572f34fa02b82aa1130125b5ea4943090784df24..0af0935e6c880085c4d82e7d16bdd0d1eb37feca 100644 (file)
@@ -66,6 +66,15 @@ class Header extends ImmutablePureComponent {
     identity_props: ImmutablePropTypes.list,
     onFollow: PropTypes.func.isRequired,
     onBlock: PropTypes.func.isRequired,
+    onMention: PropTypes.func.isRequired,
+    onDirect: PropTypes.func.isRequired,
+    onReport: PropTypes.func.isRequired,
+    onReblogToggle: PropTypes.func.isRequired,
+    onMute: PropTypes.func.isRequired,
+    onBlockDomain: PropTypes.func.isRequired,
+    onUnblockDomain: PropTypes.func.isRequired,
+    onEndorseToggle: PropTypes.func.isRequired,
+    onAddToList: PropTypes.func.isRequired,
     onEditAccountNote: PropTypes.func.isRequired,
     intl: PropTypes.object.isRequired,
     domain: PropTypes.string.isRequired,
index 1bab05c721aa3f80359d0272c33a8b073d76893c..8195735a13f1a72f108d4b9e0b50e6b6e60f2b2d 100644 (file)
@@ -24,7 +24,6 @@ export default class Header extends ImmutablePureComponent {
     onUnblockDomain: PropTypes.func.isRequired,
     onEndorseToggle: PropTypes.func.isRequired,
     onAddToList: PropTypes.func.isRequired,
-    onEditAccountNote: PropTypes.func.isRequired,
     hideTabs: PropTypes.bool,
     domain: PropTypes.string.isRequired,
   };