Skip to content

Commit

Permalink
rm runloop interferences.
Browse files Browse the repository at this point in the history
it's been a while since this was kludged in. let's see if we can
consistently roll high on this.
  • Loading branch information
stopfstedt committed Jan 15, 2025
1 parent 28975c3 commit 9cca6a5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/ilios-common/addon/modifiers/date-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { registerDestructor } from '@ember/destroyable';
import flatpickr from 'flatpickr';
import { French } from 'flatpickr/dist/l10n/fr.js';
import { Spanish } from 'flatpickr/dist/l10n/es.js';
import { next } from '@ember/runloop';
import { isTesting } from '@embroider/macros';
import { service } from '@ember/service';

Expand Down Expand Up @@ -81,7 +80,5 @@ export default class DatePickerModifier extends Modifier {
if (this.onChangeHandler) {
await this.onChangeHandler(date);
}
// eslint-disable-next-line ember/no-runloop
await next(() => {});
}
}

0 comments on commit 9cca6a5

Please sign in to comment.