mirror of https://github.com/BRAVO68WEB/shx.git
removed redundant 'await' on a non-promise
This commit is contained in:
parent
ab194e7fac
commit
e16b0b8ba0
|
@ -7,7 +7,7 @@ import { Plus, X } from 'lucide-react';
|
|||
import React, { useState } from 'react';
|
||||
|
||||
interface URLContrlProps {
|
||||
onAddURL: (url: string) => void;
|
||||
onAddURL: (url: string) => Promise<void>;
|
||||
}
|
||||
|
||||
function URLControls({ onAddURL }: URLContrlProps) {
|
||||
|
|
Loading…
Reference in New Issue