import { useTranslation } from "react-i18next";
import { useUndoRedo } from "../../../hooks";
import { List } from "@douyinfe/semi-ui";
export default function Timeline() {
const { undoStack } = useUndoRedo();
const { t } = useTranslation();
if (undoStack.length > 0) {
return (
{[...undoStack].reverse().map((e, i) => (
);
} else {
return