mirror of
https://github.com/DerTyp7/explainegy-nextjs.git
synced 2025-10-30 21:27:12 +01:00
refactor
This commit is contained in:
@@ -44,7 +44,7 @@ export default function AdminArticlesEditorPage({ article, categories }: { artic
|
||||
function changeContentTableEntryTitle(index: number, newTitle: string) {
|
||||
setContentTable((prevArray: any) => {
|
||||
let newArray = [...prevArray];
|
||||
newArray[index].anchor = newTitle;
|
||||
newArray[index].title = newTitle;
|
||||
return newArray;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user