Remove unneeded eslint exception

This commit is contained in:
Eric Schultz 2021-02-25 12:25:49 -06:00 committed by Eric Schultz
parent 5b21befe8e
commit 4193cd87be

View file

@ -4,7 +4,6 @@ import { DirectUpload, Blob } from '@rails/activestorage';
export function uploadFile(controllerUrl: string, file: File): Promise<Blob> {
const duPromise = new Promise<Blob>((resolve, reject) => {
// eslint-disable-next-line @typescript-eslint/no-empty-function
const du = new DirectUpload(file, controllerUrl);
du.create((error, result) => {