fix ui user search

This commit is contained in:
2025-03-14 10:00:17 +08:00
parent 829c211e87
commit ef02cc3a1c
3 changed files with 14 additions and 5 deletions

View File

@@ -16,7 +16,6 @@ export const apiGetUserSearch = async ({
headers: {
"Content-Type": "application/json",
Accept: "application/json",
"Access-Control-Allow-Origin": "*",
Authorization: `Bearer ${token}`,
},
});

View File

@@ -99,7 +99,7 @@ export function UserSearch_UiView() {
return (
<>
<Stack spacing={"xl"}>
<Stack>
<TextInput
radius={"xl"}
style={{ zIndex: 99 }}
@@ -116,7 +116,7 @@ export function UserSearch_UiView() {
<ComponentGlobal_IsEmptyData text="Pengguna tidak ditemukan" />
) : (
<ScrollOnly
height="84vh"
height="75vh"
renderLoading={() => (
<Center mt={"lg"}>
<Loader color={"yellow"} />

View File

@@ -1,17 +1,27 @@
import { Component_Header } from "../_global/component/new/component_header";
import UIGlobal_LayoutHeaderTamplate from "../_global/ui/ui_header_tamplate";
import UIGlobal_LayoutTamplate from "../_global/ui/ui_layout_tamplate";
import UI_NewLayoutTamplate, { UI_NewHeader, UI_NewChildren } from "../_global/ui/V2_layout_tamplate";
import { UserSearch_UiView } from "./component/ui_user_search";
export default function UserSearch_MainView() {
return (
<>
<UIGlobal_LayoutTamplate
{/* <UIGlobal_LayoutTamplate
header={<UIGlobal_LayoutHeaderTamplate title="Pencarian Pengguna" />}
>
<UserSearch_UiView />
</UIGlobal_LayoutTamplate>
</UIGlobal_LayoutTamplate> */}
<UI_NewLayoutTamplate>
<UI_NewHeader>
<Component_Header title="Pencarian Pengguna" />
</UI_NewHeader>
<UI_NewChildren>
<UserSearch_UiView />
</UI_NewChildren>
</UI_NewLayoutTamplate>
</>
);
}