about summary refs log tree commit diff
path: root/app/javascript/glitch/components/status/index.js
diff options
context:
space:
mode:
authorOndřej Hruška <ondra@ondrovo.com>2017-09-28 10:04:20 +0200
committerOndřej Hruška <ondra@ondrovo.com>2017-09-28 10:04:20 +0200
commit9a5418942c03f51176faaeec33d2fdc1acc5c30e (patch)
treea3cdf89708c96ef4711b8bd1440c268fbcae2fc2 /app/javascript/glitch/components/status/index.js
parentdaad07b1d552d5af06b4d8443afdbe1350785a14 (diff)
fix some js errors due to number->string change of status ID
Diffstat (limited to 'app/javascript/glitch/components/status/index.js')
-rw-r--r--app/javascript/glitch/components/status/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/glitch/components/status/index.js b/app/javascript/glitch/components/status/index.js
index 4a2a0e1d4..9e758793c 100644
--- a/app/javascript/glitch/components/status/index.js
+++ b/app/javascript/glitch/components/status/index.js
@@ -155,12 +155,12 @@ export default class Status extends ImmutablePureComponent {
   };
 
   static propTypes = {
-    id                          : PropTypes.number,
+    id                          : PropTypes.string,
     status                      : ImmutablePropTypes.map,
     account                     : ImmutablePropTypes.map,
     settings                    : ImmutablePropTypes.map,
     notification                : ImmutablePropTypes.map,
-    me                          : PropTypes.number,
+    me                          : PropTypes.string,
     onFavourite                 : PropTypes.func,
     onReblog                    : PropTypes.func,
     onModalReblog               : PropTypes.func,