about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/components/permalink.js
diff options
context:
space:
mode:
authorkibigo! <marrus-sh@users.noreply.github.com>2018-01-05 20:04:13 -0800
committerkibigo! <marrus-sh@users.noreply.github.com>2018-01-05 20:43:16 -0800
commitad10a80a9925c247ef14837d3a14ff7e7375f001 (patch)
tree6af7809a0a3c0c043e496274711c912bbf9acf98 /app/javascript/flavours/glitch/components/permalink.js
parent8bf9d9362a4eeb774d849887c1645b3175d73828 (diff)
Styling and autosuggest fixes for #293
Diffstat (limited to 'app/javascript/flavours/glitch/components/permalink.js')
-rw-r--r--app/javascript/flavours/glitch/components/permalink.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/permalink.js b/app/javascript/flavours/glitch/components/permalink.js
index d726d37a2..d6556b584 100644
--- a/app/javascript/flavours/glitch/components/permalink.js
+++ b/app/javascript/flavours/glitch/components/permalink.js
@@ -22,7 +22,13 @@ export default class Permalink extends React.PureComponent {
   }
 
   render () {
-    const { href, children, className, ...other } = this.props;
+    const {
+      children,
+      className,
+      href,
+      to,
+      ...other
+    } = this.props;
 
     return (
       <a target='_blank' href={href} onClick={this.handleClick} {...other} className={`permalink${className ? ' ' + className : ''}`}>