about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/components/status_prepend.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-02-21 21:13:12 +0100
committerThibG <thib@sitedethib.com>2019-02-22 17:52:21 +0100
commitd82de360c13894746d3974d11c9505c8937ebdee (patch)
tree7cf7747d18c268c2514766e2ee77a3e63c423feb /app/javascript/flavours/glitch/components/status_prepend.js
parent787449c12f121737c4319ec274300fa9a330fe9b (diff)
Fix non-numeric account identifiers leading to /web/accounts/NaN
I'm not sure what purpose these “+” served?!
Diffstat (limited to 'app/javascript/flavours/glitch/components/status_prepend.js')
-rw-r--r--app/javascript/flavours/glitch/components/status_prepend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/status_prepend.js b/app/javascript/flavours/glitch/components/status_prepend.js
index f4ef83135..4e329f546 100644
--- a/app/javascript/flavours/glitch/components/status_prepend.js
+++ b/app/javascript/flavours/glitch/components/status_prepend.js
@@ -15,7 +15,7 @@ export default class StatusPrepend extends React.PureComponent {
 
   handleClick = (e) => {
     const { account, parseClick } = this.props;
-    parseClick(e, `/accounts/${+account.get('id')}`);
+    parseClick(e, `/accounts/${account.get('id')}`);
   }
 
   Message = () => {