src/LocationTypeahead/index.js
Function constructor
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor(el, fetch, opts = {}) {
const currentLocationText = opts.currentLocationText || 'Use my current location';
const showLoaderOnCurrentLocation = opts.showLoaderOnCurrentLocation || false;
// define the "current location" icon DOM fragment
- Create a ticketCreate a ticket