chore(react/type_widgets): remove already integrated file

This commit is contained in:
Elian Doran 2025-09-25 13:26:50 +03:00
parent 45bd9b72b9
commit 0ac428b57a
No known key found for this signature in database

View File

@ -1,27 +0,0 @@
import TypeWidget from "./type_widget.js";
import appContext, { type EventData } from "../../components/app_context.js";
import froca from "../../services/froca.js";
import linkService from "../../services/link.js";
import contentRenderer from "../../services/content_renderer.js";
import utils from "../../services/utils.js";
import options from "../../services/options.js";
import attributes from "../../services/attributes.js";
export default class AbstractTextTypeWidget extends TypeWidget {
doRender() {
super.doRender();
}
async entitiesReloadedEvent({ loadResults }: EventData<"entitiesReloaded">) {
if (loadResults.getAttributeRows().find((attr) =>
attr.type === "label" &&
attr.name === "language" &&
attributes.isAffecting(attr, this.note)))
{
await this.onLanguageChanged();
}
}
async onLanguageChanged() { }
}