aboutsummaryrefslogtreecommitdiff
path: root/src/components/retweet_button/retweet_button.js
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-10-29 08:36:39 +0200
committerShpuld Shpuldson <shp@cock.li>2020-10-29 08:36:39 +0200
commitcb3578fcca763a43ec946af75e6e345ed5adc14a (patch)
tree85fdd3f8bf98eae557d33ca1a82e3688e4e7f309 /src/components/retweet_button/retweet_button.js
parent7007659e05842dc06eb2c13eddaba6ab657df5ea (diff)
parenta84db4bd8f04bdfc14836f55f441aa8478265291 (diff)
fix conflicts
Diffstat (limited to 'src/components/retweet_button/retweet_button.js')
-rw-r--r--src/components/retweet_button/retweet_button.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/components/retweet_button/retweet_button.js b/src/components/retweet_button/retweet_button.js
index 5a41f22d..5ee4179a 100644
--- a/src/components/retweet_button/retweet_button.js
+++ b/src/components/retweet_button/retweet_button.js
@@ -1,3 +1,7 @@
+import { library } from '@fortawesome/fontawesome-svg-core'
+import { faRetweet } from '@fortawesome/free-solid-svg-icons'
+
+library.add(faRetweet)
const RetweetButton = {
props: ['status', 'loggedIn', 'visibility'],
@@ -22,9 +26,7 @@ const RetweetButton = {
computed: {
classes () {
return {
- 'retweeted': this.status.repeated,
- 'retweeted-empty': !this.status.repeated,
- 'animate-spin': this.animated
+ '-repeated': this.status.repeated
}
},
mergedConfig () {