diff --git a/editor.planx.uk/src/pages/FlowEditor/components/EditHistory.tsx b/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/EditHistory.tsx similarity index 96% rename from editor.planx.uk/src/pages/FlowEditor/components/EditHistory.tsx rename to editor.planx.uk/src/pages/FlowEditor/components/Sidebar/EditHistory.tsx index 08841d52c7..05a4b05f2c 100644 --- a/editor.planx.uk/src/pages/FlowEditor/components/EditHistory.tsx +++ b/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/EditHistory.tsx @@ -5,9 +5,9 @@ import Typography from "@mui/material/Typography"; import { formatOps } from "@planx/graph"; import DelayedLoadingIndicator from "components/DelayedLoadingIndicator"; import React from "react"; -import { useStore } from "../lib/store"; +import { useStore } from "../../lib/store"; import { Operation } from "types"; -import { formatLastEditDate } from "../utils"; +import { formatLastEditDate } from "../../utils"; export const EditHistory = () => { const [flowId, flow] = useStore((state) => [state.id, state.flow]); diff --git a/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/index.tsx b/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/index.tsx index 9be3fcf601..080491457d 100644 --- a/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/index.tsx +++ b/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/index.tsx @@ -35,7 +35,7 @@ import Input from "ui/shared/Input"; import Questions from "../../../Preview/Questions"; import { useStore } from "../../lib/store"; -import { EditHistory } from "../EditHistory"; +import { EditHistory } from "./EditHistory"; type SidebarTabs = "PreviewBrowser" | "History";