From e6268c492e77f45794af9e8ee8e334e194a6de15 Mon Sep 17 00:00:00 2001 From: dave Date: Sun, 7 Apr 2019 11:44:45 -0400 Subject: #468 - clean up --- src/components/status/status.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/components/status/status.js') 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) } -- cgit v1.2.3-70-g09d2