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