diff --git a/src/shared/components/common/vote-buttons.tsx b/src/shared/components/common/vote-buttons.tsx
index 2bbddad6..dce46f5b 100644
--- a/src/shared/components/common/vote-buttons.tsx
+++ b/src/shared/components/common/vote-buttons.tsx
@@ -1,5 +1,6 @@
import { showScores } from "@utils/app";
import { numToSI } from "@utils/helpers";
+import classNames from "classnames";
import { Component, linkEvent } from "inferno";
import { CommentAggregates, PostAggregates } from "lemmy-js-client";
import { I18NextService } from "../../services";
@@ -60,68 +61,67 @@ export class VoteButtonsCompact extends Component<
render() {
return (
- <>
-
+
+
+ {this.props.enableDownvotes && (
-
- {numToSI(this.props.counts.score)}
-
- {this.props.enableDownvotes && (
-
- )}
-
- >
+ )}
+
);
}
}
-export class VoteButtons extends Component {
- state: VotesState = {
+export class VoteButtons extends Component {
+ state: VoteButtonsState = {
upvoteLoading: false,
downvoteLoading: false,
};