Skip to content

Commit

Permalink
fix: remove useless toCamelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene committed Feb 28, 2024
1 parent 7be74b6 commit 558e5fb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@
{:else if isURL(value)}
<a href={value} target="_blank" class="anchor">{value}</a>
{:else}
{#if localItems(languageTag())[toCamelCase(value)]}
{localItems(languageTag())[toCamelCase(value)]}
{#if localItems(languageTag())[value]}
{localItems(languageTag())[value]}
{:else}
{(value.str || value.name) ?? value}
{/if}
Expand Down

0 comments on commit 558e5fb

Please sign in to comment.