Fixed build warnings
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import { useGetClassGroupsByRaidLayout } from "@/hooks/ClassGroupHooks";
|
import { useGetClassGroupsByRaidLayout } from "@/hooks/ClassGroupHooks";
|
||||||
import DangerMessage from "../message/DangerMessage";
|
import DangerMessage from "../message/DangerMessage";
|
||||||
|
|
||||||
|
|
||||||
export default function ClassGroupsByRaidLayoutDisplay({
|
export default function ClassGroupsByRaidLayoutDisplay({
|
||||||
raidGroupId,
|
raidGroupId,
|
||||||
raidLayoutId
|
raidLayoutId
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import { useGetGameClasses } from "@/hooks/GameClassHooks";
|
|||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import DangerMessage from "../message/DangerMessage";
|
import DangerMessage from "../message/DangerMessage";
|
||||||
|
|
||||||
|
|
||||||
export function GameClassesSelector({
|
export function GameClassesSelector({
|
||||||
gameId,
|
gameId,
|
||||||
gameClassIds,
|
gameClassIds,
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import { ButtonShape, ButtonSizeType, ButtonVariant } from "@/components/button/Button";
|
import { ButtonShape, ButtonSizeType, ButtonVariant } from "@/components/button/Button";
|
||||||
import Table from "@/components/table/Table";
|
import Table from "@/components/table/Table";
|
||||||
|
import { ClassGroup } from "@/interface/ClassGroup";
|
||||||
import { elementBg } from "@/util/SkeletonUtil";
|
import { elementBg } from "@/util/SkeletonUtil";
|
||||||
import ClassGroupButtons from "./ClassGroupButtons";
|
import ClassGroupButtons from "./ClassGroupButtons";
|
||||||
|
|
||||||
@@ -50,7 +51,8 @@ function ClassGroupSkeleton(): React.ReactNode[]{
|
|||||||
disabled: true
|
disabled: true
|
||||||
},
|
},
|
||||||
showClassGroupModal: () => {},
|
showClassGroupModal: () => {},
|
||||||
showDeleteClassGroupModal: () => {}
|
showDeleteClassGroupModal: () => {},
|
||||||
|
classGroup: {} as ClassGroup
|
||||||
}
|
}
|
||||||
|
|
||||||
const elements: React.ReactNode[] = [
|
const elements: React.ReactNode[] = [
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import { ButtonShape, ButtonSizeType, ButtonVariant } from "@/components/button/Button";
|
import { ButtonShape, ButtonSizeType, ButtonVariant } from "@/components/button/Button";
|
||||||
import Table from "@/components/table/Table";
|
import Table from "@/components/table/Table";
|
||||||
|
import { RaidLayout } from "@/interface/RaidLayout";
|
||||||
import { elementBg } from "@/util/SkeletonUtil";
|
import { elementBg } from "@/util/SkeletonUtil";
|
||||||
import RaidLayoutAdminButtons from "./RaidLayoutAdminButtons";
|
import RaidLayoutAdminButtons from "./RaidLayoutAdminButtons";
|
||||||
|
|
||||||
@@ -60,7 +61,8 @@ function RaidLayoutSkeleton(){
|
|||||||
disabled: true
|
disabled: true
|
||||||
},
|
},
|
||||||
showRaidLayoutModal: () => {},
|
showRaidLayoutModal: () => {},
|
||||||
showDeleteRaidLayoutModal: () => {}
|
showDeleteRaidLayoutModal: () => {},
|
||||||
|
raidLayout: {} as RaidLayout
|
||||||
};
|
};
|
||||||
|
|
||||||
const elements: React.ReactNode[] = [
|
const elements: React.ReactNode[] = [
|
||||||
|
|||||||
Reference in New Issue
Block a user