fix ui user search
This commit is contained in:
@@ -16,7 +16,6 @@ export const apiGetUserSearch = async ({
|
|||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
Accept: "application/json",
|
Accept: "application/json",
|
||||||
"Access-Control-Allow-Origin": "*",
|
|
||||||
Authorization: `Bearer ${token}`,
|
Authorization: `Bearer ${token}`,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ export function UserSearch_UiView() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Stack spacing={"xl"}>
|
<Stack>
|
||||||
<TextInput
|
<TextInput
|
||||||
radius={"xl"}
|
radius={"xl"}
|
||||||
style={{ zIndex: 99 }}
|
style={{ zIndex: 99 }}
|
||||||
@@ -116,7 +116,7 @@ export function UserSearch_UiView() {
|
|||||||
<ComponentGlobal_IsEmptyData text="Pengguna tidak ditemukan" />
|
<ComponentGlobal_IsEmptyData text="Pengguna tidak ditemukan" />
|
||||||
) : (
|
) : (
|
||||||
<ScrollOnly
|
<ScrollOnly
|
||||||
height="84vh"
|
height="75vh"
|
||||||
renderLoading={() => (
|
renderLoading={() => (
|
||||||
<Center mt={"lg"}>
|
<Center mt={"lg"}>
|
||||||
<Loader color={"yellow"} />
|
<Loader color={"yellow"} />
|
||||||
|
|||||||
@@ -1,17 +1,27 @@
|
|||||||
|
|
||||||
|
import { Component_Header } from "../_global/component/new/component_header";
|
||||||
import UIGlobal_LayoutHeaderTamplate from "../_global/ui/ui_header_tamplate";
|
import UIGlobal_LayoutHeaderTamplate from "../_global/ui/ui_header_tamplate";
|
||||||
import UIGlobal_LayoutTamplate from "../_global/ui/ui_layout_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";
|
import { UserSearch_UiView } from "./component/ui_user_search";
|
||||||
|
|
||||||
export default function UserSearch_MainView() {
|
export default function UserSearch_MainView() {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<UIGlobal_LayoutTamplate
|
{/* <UIGlobal_LayoutTamplate
|
||||||
header={<UIGlobal_LayoutHeaderTamplate title="Pencarian Pengguna" />}
|
header={<UIGlobal_LayoutHeaderTamplate title="Pencarian Pengguna" />}
|
||||||
>
|
>
|
||||||
<UserSearch_UiView />
|
<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>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user