#fix: bug

- Desk:
- Perbaikan penempatan file
## No issuee
This commit is contained in:
2024-07-10 23:42:54 +08:00
parent ab6f2fe8a7
commit e744bb95fa
408 changed files with 779 additions and 861 deletions

View File

@@ -1,19 +1,19 @@
"use client";
import { RouterProfile } from "@/app/lib/router_hipmi/router_katalog";
import ComponentGlobal_IsEmptyData from "@/app_modules/component_global/is_empty_data";
import ComponentGlobal_IsEmptyData from "@/app_modules/_global/component/is_empty_data";
import ComponentGlobal_Loader from "@/app_modules/_global/component/loader";
import { MODEL_USER } from "@/app_modules/home/model/interface";
import {
ActionIcon,
Avatar,
Box,
Center,
Grid,
Group,
Loader,
Stack,
Text,
TextInput,
TextInput
} from "@mantine/core";
import { IconChevronRight, IconSearch } from "@tabler/icons-react";
import _ from "lodash";
@@ -21,8 +21,6 @@ import { ScrollOnly } from "next-scroll-loader";
import { useRouter } from "next/navigation";
import { useState } from "react";
import { userSearch_getAllUser } from "../fun/get/get_all_user";
import { MainColor } from "@/app_modules/component_global/color/color_pallet";
import ComponentGlobal_UI_Loader from "@/app_modules/component_global/ui/ui_loader";
export function UserSearch_UiView({ listUser }: { listUser: MODEL_USER[] }) {
const [data, setData] = useState(listUser);
@@ -91,7 +89,6 @@ function CardView({ data }: { data: MODEL_USER }) {
<Stack
spacing={"xs"}
c="white"
py={"xs"}
onClick={() => {
setLoading(true);
@@ -125,7 +122,7 @@ function CardView({ data }: { data: MODEL_USER }) {
<Center>
<ActionIcon variant="transparent">
{loading ? (
<ComponentGlobal_UI_Loader />
<ComponentGlobal_Loader />
) : (
<IconChevronRight color="white" />
)}

View File

@@ -1,7 +1,7 @@
import { MODEL_USER } from "@/app_modules/home/model/interface";
import UIGlobal_LayoutHeaderTamplate from "../component_global/ui/ui_header_tamplate";
import UIGlobal_LayoutTamplate from "../component_global/ui/ui_layout_tamplate";
import UIGlobal_LayoutHeaderTamplate from "../_global/ui/ui_header_tamplate";
import UIGlobal_LayoutTamplate from "../_global/ui/ui_layout_tamplate";
import { UserSearch_UiView } from "./component/ui_user_search";
export default function UserSearch_MainView({