mirror of
https://github.com/docmost/docmost.git
synced 2026-05-19 16:04:17 +08:00
de60aa7e61
* feat: synced blocks (transclusion) * fix:remove name * make placeholders smaller * feat: enforce strict transclusion schema * fix: scope synced blocks to workspace, gate unsync on edit permission * fix collab module error
18 lines
488 B
TypeScript
18 lines
488 B
TypeScript
import { IconInfoCircle } from "@tabler/icons-react";
|
|
import { useTranslation } from "react-i18next";
|
|
import classes from "./transclusion.module.css";
|
|
|
|
export default function NotFoundPlaceholder() {
|
|
const { t } = useTranslation();
|
|
return (
|
|
<div className={classes.placeholder}>
|
|
<IconInfoCircle
|
|
size={18}
|
|
stroke={1.6}
|
|
className={classes.placeholderIcon}
|
|
/>
|
|
<span>{t("The original synced block no longer exists")}</span>
|
|
</div>
|
|
);
|
|
}
|