mirror of
https://github.com/smolgrrr/TAO.git
synced 2024-09-20 09:21:25 +00:00
fix proxy UI
This commit is contained in:
parent
17d37a2eaf
commit
684bc9fdc2
@ -27,7 +27,7 @@ const LinkModal = ({ url }: { url: string }) => {
|
|||||||
}, [url]);
|
}, [url]);
|
||||||
|
|
||||||
if (error) {
|
if (error) {
|
||||||
return <div>Error: {error}</div>; // Display a user-friendly error message
|
return <a className='hover:underline text-xs text-neutral-500' href={url}>{url}</a>; // or some loading state
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!linkPreview) {
|
if (!linkPreview) {
|
||||||
|
Loading…
Reference in New Issue
Block a user