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()
|
copy()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (url && url.startsWith('http')) {
|
if (url && url.includes(':')) {
|
||||||
window.open(url, '_blank')
|
window.open(url, '_blank')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user