Skip to content

Commit

Permalink
[F] Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
hykilpikonna committed Mar 31, 2024
1 parent 6c4c458 commit b5e0508
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
5 changes: 0 additions & 5 deletions src/logic/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ export interface Person
comments: Comment[]
}

export interface RemRouter {
path: string,
text: string
}

export function parsePeopleJson(json: string): Person
{
const p = JSON.parse(json)
Expand Down
8 changes: 1 addition & 7 deletions src/views/ProfileComments.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ import MarkdownTooltip from "@/components/MarkdownTooltip.vue";
import {error, info} from "@/logic/utils";
import {initSpoilers, mdParseInline} from "tg-blog";
import Swal from 'sweetalert2';
import { i18n, getLang, RemembranceRouter } from "@/logic/config";
import { RemRouter } from '@/logic/data';
import { i18n, getLang } from "@/logic/config";
@Options({components: {MarkdownTooltip, SubmitPrompt}})
export default class ProfileComments extends Vue
Expand Down Expand Up @@ -144,11 +143,6 @@ export default class ProfileComments extends Vue
{
this.textInputKey = `draft-${this.p.id}`
this.textInputCache = localStorage.getItem(this.textInputKey) ?? ""
if (this.isOverride) {
for (let i = 0; i < this.rem.length; ++i) {
if (this.rem[i].path == this.$route.path) this.text = this.rem[i].text;
}
}
}
/**
Expand Down

0 comments on commit b5e0508

Please sign in to comment.