import t from "react";
import { Trans as r } from "react-i18next";
const a = (e) => {
  const i = e.history.userId === (e.history.payload && e.history.payload.userAccount && e.history.payload.userAccount.userId);
  return /* @__PURE__ */ t.createElement(t.Fragment, null, i ? /* @__PURE__ */ t.createElement(r, { i18nKey: "EditorTypePreview.editedBy.user" }, "You") : /* @__PURE__ */ t.createElement(r, { i18nKey: "EditorTypePreview.editedBy.admin" }, "Administrator"));
};
export {
  a as EditorTypePreview
};
