about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorSunny Ripert <sunny@sunfox.org>2022-11-07 03:40:04 +0100
committerClaire <claire.github-309c@sitedethib.com>2022-11-07 07:54:18 +0100
commit71e68dac4e8954b32c67b3d3b5b62d4124c3e5de (patch)
tree377eba92b7df765cf4674750b2ea1c05a008f36d /app/javascript
parentd13a2f79017da6ac479b58f2c21a064351ef9675 (diff)
[Glitch] Fix JavaScript console error on Getting Started column
Port ffe735344bb47ad2af743ad97729db9ea9c11f60 to glitch-soc

Co-authored-by: Ilias Tsangaris <iliastsangaris@gmail.com>

Co-authored-by: Ilias Tsangaris <iliastsangaris@gmail.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/flavours/glitch/components/column_header.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/column_header.js b/app/javascript/flavours/glitch/components/column_header.js
index 024068c58..3df359745 100644
--- a/app/javascript/flavours/glitch/components/column_header.js
+++ b/app/javascript/flavours/glitch/components/column_header.js
@@ -63,7 +63,7 @@ class ColumnHeader extends React.PureComponent {
   }
 
   handleTitleClick = () => {
-    this.props.onClick();
+    this.props.onClick?.();
   }
 
   handleMoveLeft = () => {