From 123fc2f66686e4b8e37a4b71ac1debdda57ccfa1 Mon Sep 17 00:00:00 2001 From: mattwr18 Date: Mon, 18 Nov 2019 21:54:24 +0100 Subject: [PATCH] Fix lint with updated linter --- webapp/components/ContributionForm/ContributionForm.spec.js | 2 +- webapp/pages/post/edit/_id.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/components/ContributionForm/ContributionForm.spec.js b/webapp/components/ContributionForm/ContributionForm.spec.js index 3c27ea060..52f77b3f2 100644 --- a/webapp/components/ContributionForm/ContributionForm.spec.js +++ b/webapp/components/ContributionForm/ContributionForm.spec.js @@ -370,7 +370,7 @@ describe('ContributionForm.vue', () => { it('supports updating categories', async () => { expectedParams.variables.categoryIds.push('cat3') wrapper.find(CategoriesSelect).setData({ categories }) - let healthWellbeingButton = await wrapper + const healthWellbeingButton = await wrapper .find(CategoriesSelect) .find('[data-test="category-buttons-cat3"]') healthWellbeingButton.trigger('click') diff --git a/webapp/pages/post/edit/_id.vue b/webapp/pages/post/edit/_id.vue index a85ba274a..c79d2b70e 100644 --- a/webapp/pages/post/edit/_id.vue +++ b/webapp/pages/post/edit/_id.vue @@ -28,7 +28,7 @@ export default { error, params: { id }, } = context - let client = app.apolloProvider.defaultClient + const client = app.apolloProvider.defaultClient const { data: { Post: [contribution],