Skip to content

Commit

Permalink
Minor Cleanup (#95)
Browse files Browse the repository at this point in the history
* chore: remove unused dev dependency

* chore: remove console logs
  • Loading branch information
DavideIadeluca committed Jul 30, 2024
1 parent 40af3e8 commit 1a5f478
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
9 changes: 0 additions & 9 deletions js/src/forum/components/PollForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -359,15 +359,6 @@ export default class PollForm extends Component<PollFormAttrs, PollFormState> {
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({
Expand Down

0 comments on commit 1a5f478

Please sign in to comment.