Skip to content

Commit

Permalink
fix: build Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eunbeann committed Aug 29, 2024
1 parent 5915471 commit 9ee1493
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
17 changes: 16 additions & 1 deletion src/app/(sidebar)/my-recruit/[id]/api/usePatchSeason.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
import { http } from '@/apis/http';
import { useMutation, useQueryClient } from '@tanstack/react-query';
import { ProgressRecruitType } from './useGetProgressRecruit';
import { GET_RECRUIT_BY_ID } from './useGetRecruitById';

export interface NearestScheduleType {
id: number;
recruitScheduleStage: string;
deadLine: string;
}

export interface ProgressRecruitType {
id: number;
title: string;
season: string;
siteUrl: string;
recruitStatus: string;
createdDate: string;
nearestSchedule: NearestScheduleType | null;
}

interface PatchSeasonProps {
newSeason: string;
id: string;
Expand Down
2 changes: 1 addition & 1 deletion src/app/(sidebar)/my-recruit/[id]/api/usePatchSiteUrl.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { http } from '@/apis/http';
import { useMutation, useQueryClient } from '@tanstack/react-query';
import { ProgressRecruitType } from './useGetProgressRecruit';
import { GET_RECRUIT_BY_ID } from './useGetRecruitById';
import { ProgressRecruitType } from './usePatchSeason';

interface PatchSiteProps {
newSiteUrl: string;
Expand Down
3 changes: 3 additions & 0 deletions src/system/components/Icon/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ const iconMap = {
logoOnly: LogoOnly,
workFill: WorkFill,
arrowUp: ArrowUp,
logout: Logout,
profileFill: ProfileFill,
folder: Folder,
} as const;

export interface IconProps extends IconBaseType {
Expand Down

0 comments on commit 9ee1493

Please sign in to comment.