fixed grid
This commit is contained in:
@@ -26,11 +26,12 @@ export const InspectorAddVetToKillHouse = ({ userKey, item }) => {
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
const d = inspectorGetKillHouses
|
||||
?.filter((item) => item.killer === false)
|
||||
.map((item) => {
|
||||
return { title: item.name, value: item.key };
|
||||
});
|
||||
const d =
|
||||
inspectorGetKillHouses
|
||||
?.filter((item) => item.killer === false)
|
||||
.map((item) => {
|
||||
return { title: item.name, value: item.key };
|
||||
}) || [];
|
||||
setKillhouses(d);
|
||||
}, [inspectorGetKillHouses]);
|
||||
|
||||
|
||||
@@ -443,14 +443,19 @@ export const CreateGuilds = ({ guild, updateTable }) => {
|
||||
<Grid
|
||||
container
|
||||
gap={SPACING.TINY}
|
||||
maxHeight="80vh"
|
||||
minWidth={
|
||||
!guild && !isInquiryDone
|
||||
? "auto"
|
||||
: { xs: "96vw", md: "90vw", nlg: "1280px" }
|
||||
}
|
||||
overflow="auto"
|
||||
p={2}
|
||||
sx={{
|
||||
maxHeight: "80vh",
|
||||
overflow: "auto",
|
||||
p: 2,
|
||||
minWidth:
|
||||
!guild && !isInquiryDone
|
||||
? "auto"
|
||||
: {
|
||||
xs: "96vw",
|
||||
md: "90vw",
|
||||
nlg: "1280px",
|
||||
},
|
||||
}}
|
||||
>
|
||||
{shouldShowUpdateButton && (
|
||||
<UpdateFromExternalButton
|
||||
|
||||
Reference in New Issue
Block a user