about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/components
diff options
context:
space:
mode:
authorBèr Kessels <ber@berk.es>2020-03-08 16:02:36 +0100
committerThibaut Girka <thib@sitedethib.com>2020-03-08 20:43:53 +0100
commitfc53d9cc764653928b7ff6ffc34506180c10a905 (patch)
treec00fbf8285d38af3ad7df57a56e81145e66d6103 /app/javascript/flavours/glitch/components
parent35d2189ac8a57de59f4e2f896dec4dc98dabfb0f (diff)
[Glitch] Code style improvements in JavaScript
Port fd76955f3942bbd7ec830ab535bc31621cac14a4 to glitch-soc

* JS-linter: fix trailing comma's

* Configure eslinter to ignore this onchange error.

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/components')
-rw-r--r--app/javascript/flavours/glitch/components/intersection_observer_article.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/intersection_observer_article.js b/app/javascript/flavours/glitch/components/intersection_observer_article.js
index 03b3700df..88f29892e 100644
--- a/app/javascript/flavours/glitch/components/intersection_observer_article.js
+++ b/app/javascript/flavours/glitch/components/intersection_observer_article.js
@@ -45,7 +45,7 @@ export default class IntersectionObserverArticle extends React.Component {
     intersectionObserverWrapper.observe(
       id,
       this.node,
-      this.handleIntersection
+      this.handleIntersection,
     );
 
     this.componentMounted = true;