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> <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 { IReview } from "@models/stories/review";
import { comment } from "@client/editorConfig"; import { comment } from "@client/editorConfig";
import { SingleChapterResult } from "@client/types/slightlyDifferentStory"; import { SingleChapterResult } from "@client/types/slightlyDifferentStory";
@ -61,16 +61,11 @@
</template> </template>
<template #author> <template #author>
<b style="display: flex"> <b style="display: flex">
<i18n-t keypath="reviews.reviewFrom" v-if="review.replyingTo == null"> <span v-if="review.replyingTo == null">Review by&nbsp;</span>
<nuxt-link :to="`/user/${review.author._id}`"> <span v-else> Response from&nbsp; </span>
{{ review.author.username }} <nuxt-link :to="`/user/${review.author._id}`">
</nuxt-link> {{ review.author.username }}
</i18n-t> </nuxt-link>
<i18n-t keypath="reviews.responseFrom" v-else>
<nuxt-link :to="`/user/${review.author._id}`">
{{ review.author.username }}
</nuxt-link>
</i18n-t>
</b> </b>
</template> </template>
<template #content> <template #content>