generated from kevisual/vite-react-template
fix
This commit is contained in:
@@ -49,7 +49,7 @@ const LinkItem = ({ label, icon, url }: { label: string; icon: React.ReactNode;
|
||||
copy()
|
||||
return;
|
||||
}
|
||||
if (url && url.startsWith('http')) {
|
||||
if (url && url.includes(':')) {
|
||||
window.open(url, '_blank')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user