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
committerGitHub <noreply@github.com>2022-11-07 03:40:04 +0100
commitffe735344bb47ad2af743ad97729db9ea9c11f60 (patch)
treec2952ea9de3bf73615827918ebee2ac116114dc4 /app/javascript
parent34c269310d2017c3164d57c1e8631f9423092ee3 (diff)
Fix JavaScript console error on Getting Started column (#19891)
* Fix JavaScript console error on Getting Started column

* Update app/javascript/mastodon/components/column_header.js

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

Co-authored-by: Ilias Tsangaris <iliastsangaris@gmail.com>
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/components/column_header.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/column_header.js b/app/javascript/mastodon/components/column_header.js
index 5b2e16627..43efa179e 100644
--- a/app/javascript/mastodon/components/column_header.js
+++ b/app/javascript/mastodon/components/column_header.js
@@ -57,7 +57,7 @@ class ColumnHeader extends React.PureComponent {
   }
 
   handleTitleClick = () => {
-    this.props.onClick();
+    this.props.onClick?.();
   }
 
   handleMoveLeft = () => {