fix: cast website as string

This commit is contained in:
P. Reis 2024-05-23 20:27:17 -03:00
parent 4ab1d32f18
commit 3c699fd23f

View file

@ -34,7 +34,7 @@ async function renderAccount(
let websiteUrl;
try {
// See if 'website' is a valid url
new URL(website);
new URL(website as string);
websiteUrl = website;
} catch (_) {
try {