diff options
Diffstat (limited to 'src/components/status/status.js')
| -rw-r--r-- | src/components/status/status.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index 39a1b236..85159fc4 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -362,7 +362,9 @@ const Status = { this.$store.state.api.backendInteractor.pinOwnStatus(this.status.id).then((status) => { if (status.error) { this.error = status.error - setTimeout(() => this.error = null, 5000) + setTimeout(() => { + this.error = null + }, 5000) } else { this.$store.dispatch('updatePinned', status) } |
