about summary refs log tree commit diff
path: root/app/javascript/flavours
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-01-29 17:44:03 -0500
committerClaire <claire.github-309c@sitedethib.com>2023-02-03 19:58:44 +0100
commited7cb797235d86aedf04e235da40d5d6aa8e1cb1 (patch)
tree09ad07e7cba19c7908d3c32ebdb55df14d77e49c /app/javascript/flavours
parent1d5395498d5cfae1e98851a7a0a9a4a4bc0bc7a5 (diff)
[Glitch] Remove extra semicolons with ESLint autofix
Port d9088ef3272421a9267467fb95674d4b4afb38ab to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r--app/javascript/flavours/glitch/actions/tags.js14
-rw-r--r--app/javascript/flavours/glitch/features/followed_tags/index.js2
-rw-r--r--app/javascript/flavours/glitch/reducers/followed_tags.js2
3 files changed, 9 insertions, 9 deletions
diff --git a/app/javascript/flavours/glitch/actions/tags.js b/app/javascript/flavours/glitch/actions/tags.js
index 08a08cda3..dda8c924b 100644
--- a/app/javascript/flavours/glitch/actions/tags.js
+++ b/app/javascript/flavours/glitch/actions/tags.js
@@ -60,7 +60,7 @@ export function fetchFollowedHashtagsRequest() {
   return {
     type: FOLLOWED_HASHTAGS_FETCH_REQUEST,
   };
-};
+}
 
 export function fetchFollowedHashtagsSuccess(followed_tags, next) {
   return {
@@ -68,14 +68,14 @@ export function fetchFollowedHashtagsSuccess(followed_tags, next) {
     followed_tags,
     next,
   };
-};
+}
 
 export function fetchFollowedHashtagsFail(error) {
   return {
     type: FOLLOWED_HASHTAGS_FETCH_FAIL,
     error,
   };
-};
+}
 
 export function expandFollowedHashtags() {
   return (dispatch, getState) => {
@@ -94,13 +94,13 @@ export function expandFollowedHashtags() {
       dispatch(expandFollowedHashtagsFail(error));
     });
   };
-};
+}
 
 export function expandFollowedHashtagsRequest() {
   return {
     type: FOLLOWED_HASHTAGS_EXPAND_REQUEST,
   };
-};
+}
 
 export function expandFollowedHashtagsSuccess(followed_tags, next) {
   return {
@@ -108,14 +108,14 @@ export function expandFollowedHashtagsSuccess(followed_tags, next) {
     followed_tags,
     next,
   };
-};
+}
 
 export function expandFollowedHashtagsFail(error) {
   return {
     type: FOLLOWED_HASHTAGS_EXPAND_FAIL,
     error,
   };
-};
+}
 
 export const followHashtag = name => (dispatch, getState) => {
   dispatch(followHashtagRequest(name));
diff --git a/app/javascript/flavours/glitch/features/followed_tags/index.js b/app/javascript/flavours/glitch/features/followed_tags/index.js
index 4a23afc2d..73203636c 100644
--- a/app/javascript/flavours/glitch/features/followed_tags/index.js
+++ b/app/javascript/flavours/glitch/features/followed_tags/index.js
@@ -38,7 +38,7 @@ class FollowedTags extends ImmutablePureComponent {
 
   componentDidMount() {
     this.props.dispatch(fetchFollowedHashtags());
-  };
+  }
 
   handleLoadMore = debounce(() => {
     this.props.dispatch(expandFollowedHashtags());
diff --git a/app/javascript/flavours/glitch/reducers/followed_tags.js b/app/javascript/flavours/glitch/reducers/followed_tags.js
index 4109b0b10..84c744640 100644
--- a/app/javascript/flavours/glitch/reducers/followed_tags.js
+++ b/app/javascript/flavours/glitch/reducers/followed_tags.js
@@ -39,4 +39,4 @@ export default function followed_tags(state = initialState, action) {
   default:
     return state;
   }
-};
+}