mirror of
https://github.com/DerTyp7/explainegy-nextjs.git
synced 2026-07-31 15:49:04 +02:00
refactor to pages
This commit is contained in:
@@ -18,7 +18,7 @@ import Markdown from "../../../../../components/Markdown";
|
||||
|
||||
type ArticleWithCategory = Prisma.ArticleGetPayload<{ include: { category: true } }>;
|
||||
|
||||
export default function ArticleEditor({ params }: { params: { articleId: string } }) {
|
||||
export default function AdminArticlesEditorPage({ params }: { params: { articleId: string } }) {
|
||||
const router = useRouter();
|
||||
const [title, setTitle] = useState<string>("");
|
||||
const [selectCategoriesOptions, setSelectCategoriesOptions] = useState<any>([]);
|
||||
|
||||
Reference in New Issue
Block a user