Skip to content

Commit

Permalink
Merge pull request #271 from MeeTeamIdle/feature/#269_portfolio_issues
Browse files Browse the repository at this point in the history
fix: 포트폴리오 관련 이슈 해결
  • Loading branch information
kimsuyeon0916 authored Nov 5, 2024
2 parents bcd05f4 + 61b552f commit 915aea5
Show file tree
Hide file tree
Showing 5 changed files with 229 additions and 199 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ const PortfolioImageUpload = ({
shouldDirty: true,
shouldTouch: true,
});
event.target.value = ''; // 같은 이름 파일 있을 때만 input value 초기화
};
continue;
}
Expand Down
1 change: 1 addition & 0 deletions src/hooks/usePortfolio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const useReadPortfolio = (portfolioId: string) => {
return useQuery({
queryKey: portfolioKeys.readPortfolio(portfolioId),
queryFn: () => readPortfolio(portfolioId),
enabled: !!portfolioId,
});
};

Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import RecruitPostingApply from './recruit/recruitManagePage/RecruitPostingApply
import RecruitMyPostings from './recruit/recruitManagePage/RecruitMyPostings';
import CompleteSignUpPage from './account/complete/CompleteSignUpPage';
import PrivateRouter from './routes/PrivateRouter';
import PortfolioManagementPage from './portfolio/management/PortfolioManagmentPage';
import PortfolioManagementPage from './portfolio/management/PortfolioManagementPage';
import NotFound from './notFound/NotFound';
import AccountSetting from './account/accountSetting/AccountSetting';

Expand Down
Loading

0 comments on commit 915aea5

Please sign in to comment.