Skip to content

Commit 0f3c9b7

Browse files
authored
Merge pull request #212 from RealMatchTeam/fix/72-qa
hotfix : 데모데이 id 수정
2 parents cd0c897 + 397ac96 commit 0f3c9b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/routes/matching/suggest/create/create-campaign-content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export default function CreateCampaignContent() {
161161

162162
const brandId = brandIdParam
163163
? Number(brandIdParam)
164-
: proposalData?.brandId || 1;
164+
: (type === "new" ? 0 : (proposalData?.brandId ?? 1));
165165

166166
const campaignId = type === "existing"
167167
? (campaignIdParam ? Number(campaignIdParam) : (proposalData?.campaignId || null))

0 commit comments

Comments
 (0)