little updatE

This commit is contained in:
Rama Priyanto 2025-03-03 08:55:08 +07:00
parent 30f2a97a68
commit 60140c5132
4 changed files with 0 additions and 6 deletions

View File

@ -69,7 +69,6 @@ export default function StaticPageBuilderEdit() {
setValue("slug", data?.slug);
setValue("description", data?.description);
setValue("htmlBody", addPreCode(data?.htmlBody));
console.log("asdasd", addPreCode(data?.htmlBody));
};
const addPreCode = (htmlString: string): string => {

View File

@ -287,7 +287,6 @@ export default function MagazineTable() {
e.target.value === ""
? ""
: setSelectedCategories(e.target.value);
console.log("eeess", e.target.value);
}}
>
{categories?.map((category: any) => (

View File

@ -242,7 +242,6 @@ export default function CategoriesTable(props: { triggerRefresh: boolean }) {
const findParent = (parent: number | undefined) => {
const finded = listCategory?.find((a: any) => a.id === parent);
console.log("listt", finded);
if (finded) {
setSelectedParent(finded);
}
@ -259,7 +258,6 @@ export default function CategoriesTable(props: { triggerRefresh: boolean }) {
const findRelated = (parent: number | string) => {
const filter = listCategory?.filter((a) => a.id == parent);
console.log("filter", filter[0]?.label);
return filter[0]?.label;
};

View File

@ -139,7 +139,6 @@ export default function MappingUserLevel() {
console.log("dataa", data);
// for (const element of data) {
// if (element.aliasName === "satker") {
// console.log("namanya", element.id);
// const request = {
// aliasName: element.aliasName,
// levelNumber: 2,
@ -147,7 +146,6 @@ export default function MappingUserLevel() {
// parentLevelId: 692,
// provinceId: 0,
// };
// console.log("reqq", request);
// const response = await editUserLevel(request, element.id);
// if (response?.error) {
// break;