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],