diff --git a/src/components/layouts/sidebar/MenuItems.js b/src/components/layouts/sidebar/MenuItems.js index 346a3d4f..f52b4e1f 100644 --- a/src/components/layouts/sidebar/MenuItems.js +++ b/src/components/layouts/sidebar/MenuItems.js @@ -69,7 +69,7 @@ const Menuitems = [ { title: "SIDEBAR.WORKSPACE", icon: dashboardIcon, - href: "/workspace", + href: "/workspace/content/create", }, ]; diff --git a/src/pages/workspace.tsx b/src/pages/workspace.tsx deleted file mode 100644 index 3692d41a..00000000 --- a/src/pages/workspace.tsx +++ /dev/null @@ -1,60 +0,0 @@ -import { serverSideTranslations } from 'next-i18next/serverSideTranslations'; -import React from 'react' -import { Box, Button, Typography } from '@mui/material'; -import { useRouter } from "next/router"; -import { useTranslation } from "react-i18next"; -import DescriptionOutlinedIcon from '@mui/icons-material/DescriptionOutlined'; - -const workspace = () => { - const router = useRouter(); - const { t } = useTranslation(); - const navigateEditor = () => { - router.push('/workspace/content/create'); - } - - return ( - - {t("WORKSPACE.EDITOR_WORKSPACE")} - - - ); -} - -export default workspace - - -export async function getStaticProps({ locale }: any) { - return { - props: { - ...(await serverSideTranslations(locale, ["common"])), - }, - }; - } - - \ No newline at end of file