Remove unneeded eslint exception
This commit is contained in:
parent
5b21befe8e
commit
4193cd87be
1 changed files with 0 additions and 1 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue