refactor(components): remove i18n stub from singleReview.vue

we don't need it!
This commit is contained in:
parent 8cdfb6abfe
commit f8913e976d
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -1,5 +1,5 @@
<script lang="ts" setup>
import { Form as veeForm, Field as veeField } from "vee-validate";
import { Form as veeForm, Field as veeField, useForm } from "vee-validate";
import { IReview } from "@models/stories/review";
import { comment } from "@client/editorConfig";
import { SingleChapterResult } from "@client/types/slightlyDifferentStory";
@ -61,16 +61,11 @@
</template>
<template #author>
<b style="display: flex">
<i18n-t keypath="reviews.reviewFrom" v-if="review.replyingTo == null">
<nuxt-link :to="`/user/${review.author._id}`">
{{ review.author.username }}
</nuxt-link>
</i18n-t>
<i18n-t keypath="reviews.responseFrom" v-else>
<nuxt-link :to="`/user/${review.author._id}`">
{{ review.author.username }}
</nuxt-link>
</i18n-t>
<span v-if="review.replyingTo == null">Review by&nbsp;</span>
<span v-else> Response from&nbsp; </span>
<nuxt-link :to="`/user/${review.author._id}`">
{{ review.author.username }}
</nuxt-link>
</b>
</template>
<template #content>