Skip to content

Commit 3a9a29a

Browse files
committed
Merge branch 'main' of https://github.com/RealMatchTeam/FE into feat/ad-realmatch
2 parents 1547071 + 0f3c9b7 commit 3a9a29a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ export default function CreateCampaignContent() {
168168

169169
const brandId = brandIdParam
170170
? Number(brandIdParam)
171-
: proposalData?.brandId;
171+
: proposalData?.brandId ?? 0;
172172

173-
if (!brandId) {
173+
if (brandId == null) {
174174
toast.error("브랜드 정보가 없습니다. 다시 시도해주세요.");
175175
return;
176176
}

0 commit comments

Comments
 (0)