Skip to content

Commit

Permalink
fix(open-graph): fix type error, close #563
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jan 11, 2024
1 parent 41ee5ec commit c63055a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/devtools/client/pages/modules/open-graph.vue
Expand Up @@ -157,7 +157,7 @@ until(router).toBeTruthy().then((v) => {
</NLink>
</div>
<NLink
:href="item.value.match(/^https?:\/\//) ? item.value : undefined"
:href="String(item.value).match(/^https?:\/\//) ? item.value : undefined"
target="_blank"
w-full p2 font-mono
n="primary"
Expand Down

0 comments on commit c63055a

Please sign in to comment.