fix ui user search
This commit is contained in:
@@ -16,7 +16,6 @@ export const apiGetUserSearch = async ({
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
Accept: "application/json",
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
Authorization: `Bearer ${token}`,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -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"} />
|
||||
|
||||
@@ -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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user