removed redundant 'await' on a non-promise

This commit is contained in:
Chirag Bhalotia 2023-06-24 00:54:19 +05:30
parent ab194e7fac
commit e16b0b8ba0
No known key found for this signature in database
GPG Key ID: F7F1F1FBFFD40427
1 changed files with 1 additions and 1 deletions

View File

@ -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) {