resources/js/components/pointer.js
Function setupListeners
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setupListeners() {
// Copy on copy button click
this.includeButton.addEventListener('click', () => copyTextToClipboard(this.includeInput.value));
this.linkButton.addEventListener('click', () => copyTextToClipboard(this.linkInput.value));