style : update style
This commit is contained in:
@@ -28,7 +28,7 @@ export default function DrawerDetailMember({
|
||||
try {
|
||||
if (val) {
|
||||
const res = await funEditStatusMember(id, {
|
||||
isActive: true,
|
||||
isActive: status ? true : false,
|
||||
});
|
||||
if (res.success) {
|
||||
toast.success(res.message);
|
||||
|
||||
@@ -17,7 +17,7 @@ export default function DrawerListMember() {
|
||||
<Box>
|
||||
<Stack pt={10}>
|
||||
<SimpleGrid
|
||||
cols={{ base: 3, sm: 3, lg: 3 }}
|
||||
cols={{ base: 2, sm: 3, lg: 3 }}
|
||||
>
|
||||
<Flex justify={'center'} align={'center'} direction={'column'}
|
||||
style={{
|
||||
|
||||
@@ -173,7 +173,7 @@ export default function EditMember({ id }: { id: string }) {
|
||||
{loading ?
|
||||
<Skeleton height={150} width={150} radius={"100"} />
|
||||
:
|
||||
<Indicator offset={20} withBorder inline color={tema.get().bgIcon} position="bottom-end" label={<FaCamera size={20} />} size={40} onClick={() => openRef.current?.()}>
|
||||
<Indicator offset={20} withBorder inline color={tema.get().bgFiturHome} position="bottom-end" label={<FaCamera size={20} />} size={40} onClick={() => openRef.current?.()}>
|
||||
<Avatar
|
||||
size="150"
|
||||
radius={"100"}
|
||||
|
||||
Reference in New Issue
Block a user