From 1a5f4781f2b926a24e90e44f0548cd90a5b07f0a Mon Sep 17 00:00:00 2001 From: Davide Iadeluca <146922689+DavideIadeluca@users.noreply.github.com> Date: Tue, 30 Jul 2024 10:59:48 +0200 Subject: [PATCH] Minor Cleanup (#95) * chore: remove unused dev dependency * chore: remove console logs --- composer.json | 3 +-- js/src/forum/components/PollForm.tsx | 9 --------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/composer.json b/composer.json index ccf2157b..a3c4d46b 100755 --- a/composer.json +++ b/composer.json @@ -59,8 +59,7 @@ }, "require-dev": { "flarum/phpstan": "*", - "flarum/testing": "^1.0.0", - "fof/upload": "*" + "flarum/testing": "^1.0.0" }, "scripts": { "analyse:phpstan": "phpstan analyse", diff --git a/js/src/forum/components/PollForm.tsx b/js/src/forum/components/PollForm.tsx index 0c801737..a6ada17a 100644 --- a/js/src/forum/components/PollForm.tsx +++ b/js/src/forum/components/PollForm.tsx @@ -359,15 +359,6 @@ export default class PollForm extends Component { throw new FormError(app.translator.trans('fof-polls.forum.modal.min')); } - console.log( - 'option answers', - this.optionAnswers.map((o) => o()) - ); - console.log( - 'option image urls', - this.optionImageUrls.map((o) => o()) - ); - const pollExists = this.state.poll.exists; const options = this.options.map((option, i) => { option.pushAttributes({