fix(deps): update dependency next-intl to v3.23.5 (#1376)

* fix(deps): update dependency next-intl to v3.23.5

* fix: typecheck issue

---------

Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
homarr-renovate[bot]
2024-10-26 23:15:52 +02:00
committed by GitHub
parent 4502569223
commit a4ae38b5e4
4 changed files with 19 additions and 13 deletions

View File

@@ -21,7 +21,7 @@ export const DeleteMedia = ({ media }: DeleteMediaProps) => {
const onClick = () => {
openConfirmModal({
title: t("media.action.delete.label"),
children: t("media.action.delete.description", { name: <b>{media.name}</b> }),
children: t.rich("media.action.delete.description", { bName: () => <b>{media.name}</b> }),
// eslint-disable-next-line no-restricted-syntax
onConfirm: async () => {
await mutateAsync({ id: media.id });