mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-18 06:24:25 +01:00
fix: expose i18n instance
This commit is contained in:
@@ -109,7 +109,7 @@ const ClickToShow: Component<ClickToShowProps> = (props) => {
|
||||
class="flex flex-col items-center rounded bg-bg-tertiary p-3 text-xs text-fg-secondary hover:shadow"
|
||||
onClick={() => setHidden(false)}
|
||||
>
|
||||
{i18n()('post.showPreview')}
|
||||
{i18n.t('post.showPreview')}
|
||||
</button>
|
||||
<SafeLink class="text-link underline" href={props.url} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user