Refactor BaseUrl string conversion

We're only using this as a string, so no need to convert it to an URL.
This commit is contained in:
Rūdolfs Ošiņš
2024-02-23 15:46:28 +00:00
parent 8f43a57984
commit 41435951c1
8 changed files with 21 additions and 24 deletions
+3 -3
View File
@@ -509,9 +509,9 @@
style:border-radius="var(--border-radius-small">
<ErrorMessage
title="Failed to load diff for this revision"
description="Make sure you are able to connect to the seed <code>${utils
.baseUrlToUrl(api.baseUrl)
.toString()}</code>"
description="Make sure you are able to connect to the seed <code>${utils.baseUrlToString(
api.baseUrl,
)}</code>"
{error} />
</div>
{/if}