feat: add typescript support to i18next
This commit is contained in:
@@ -33,8 +33,8 @@ const DeleteConfirmModal: FC<Props> = ({ id, closeModal }) => {
|
||||
<Modal id="modal-modal">
|
||||
<StyledModal
|
||||
className="compact"
|
||||
title={t("channel.delete") || ""}
|
||||
description={t("channel.delete_desc") || ""}
|
||||
title={t("channel.delete")}
|
||||
description={t("channel.delete_desc")}
|
||||
buttons={
|
||||
<>
|
||||
<Button onClick={closeModal.bind(null, undefined)} className="cancel">
|
||||
|
||||
@@ -133,7 +133,7 @@ export default function Overview({ id = 0 }) {
|
||||
value={name}
|
||||
name="name"
|
||||
id="name"
|
||||
placeholder={t("name") || ""}
|
||||
placeholder={t("name")}
|
||||
/>
|
||||
</div>
|
||||
<div className="input">
|
||||
@@ -146,7 +146,7 @@ export default function Overview({ id = 0 }) {
|
||||
rows={4}
|
||||
name="name"
|
||||
id="name"
|
||||
placeholder={t("topic_placeholder") || ""} />
|
||||
placeholder={t("topic_placeholder")} />
|
||||
</div>
|
||||
{!readOnly && <div className="input">
|
||||
<Label htmlFor="desc">{t("visibility")}</Label>
|
||||
|
||||
Reference in New Issue
Block a user