Skip to content

Commit

Permalink
Deploy preview for PR 393 ๐Ÿ›ซ
Browse files Browse the repository at this point in the history
  • Loading branch information
urjimyu committed Feb 22, 2024
1 parent 793cca5 commit 4824f9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1931,7 +1931,7 @@ Error generating stack: `+i.message+`

display: flex;
flex-direction: column;
`,postOpenGraph=async e=>(await post("/opengraph",e)).data,usePostOpenGraph=({body:e})=>{const d=useMutation({mutationFn:postOpenGraph,onSuccess:s=>{console.log("POST ์„ฑ๊ณต, ์˜คํ”ˆ๊ทธ๋ž˜ํ”„ data ๊ฐ’",s),console.log("body๊ฐ’",e)},onError:s=>{console.log(s.message)}}),{isError:c}=d;return{mutation:d,isError:c}},GiftAddFirstLinkLayout=({setStep:e,setLinkText:d,itemNum:c,step:s,setOpenGraph:a,targetDate:i,setModalStatus:o,updateAddGiftInfo:_f,addGiftInfo:en})=>{const[fn,nn]=reactExports.useState(!!en.url),[zn,rn]=reactExports.useState(en.url),{mutation:cn}=usePostOpenGraph({body:{BaseURL:zn}}),Pn=xn=>{try{const vn=cn.mutate({BaseURL:xn},{onSuccess:tn=>{const un=tn.title,Xn=tn.image;a({title:un,image:Xn}),console.log("์˜คํ”ˆ๊ทธ๋ž˜ํ”„ ์ •๋ณด๋ฅผ ๊ฐ€์ ธ์™”์Šต๋‹ˆ๋‹ค.",{giftTitle:un,giftImage:Xn}),console.log("์ž‘์„ฑํ•œ ๋งํฌ ํ…์ŠคํŠธ",zn),console.log("fetchOpenGraph ์† response",vn),d(zn),_f({url:zn,imageUrl:Xn}),e(2)},onError:()=>{o(!0),e(3)}})}catch{e(3)}},dn=async()=>{Pn(zn)};return jsxRuntimeExports$1.jsxs(GiftAddLinkLayoutWrapper,{children:[jsxRuntimeExports$1.jsx(LinkAddHeader,{targetDate:i,setStep:e,step:s,url:zn,updateAddGiftInfo:_f}),jsxRuntimeExports$1.jsx(GiftStatusBar,{registeredGiftNum:c,isMargin:!0}),jsxRuntimeExports$1.jsxs(Title$b,{children:[c===0?"์ฒซ๋ฒˆ์งธ ์ƒํ’ˆ์˜":"๋‘๋ฒˆ์งธ ์ƒํ’ˆ์˜",jsxRuntimeExports$1.jsx("br",{}),"ํŒ๋งค ๋งํฌ๋ฅผ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”"]}),jsxRuntimeExports$1.jsx(InputUrl,{text:zn,setText:rn,setIsActivated:nn}),jsxRuntimeExports$1.jsx(GiftAddBtnWrapper,{setStep:e,isActivated:fn,onClick:dn})]})},MY_GIFT_QUERY_KEY=["myGiftData"],getMyGift=async e=>get(`/gift/my/${e}`),useGetMyGift=({roomId:e})=>{const{data:d,isLoading:c,isError:s}=useSuspenseQuery({queryKey:[MY_GIFT_QUERY_KEY[0],e],queryFn:()=>getMyGift(e)});return{data:d,isLoading:c,isError:s}};async function postNewGift(e){await post("/gift",e)}const usePostGift=(e,d,c,s)=>{const a=useNavigate(),i=useQueryClient();return{mutation:useMutation({mutationFn:postNewGift,onSuccess:()=>{console.log("์„ ๋ฌผ ๋“ฑ๋ก ์„ฑ๊ณต!!"),i.invalidateQueries({queryKey:[MY_GIFT_QUERY_KEY[0],e]}),a(`/add-gift/${e}/${d}`),c(0),s({name:"",cost:0,imageUrl:"",url:""})},onError:_f=>{console.log("์„ ๋ฌผ ๋“ฑ๋ก ์—๋Ÿฌ!!",_f.message)}})}},AddGiftFooterWrapper=ut.footer`
`,postOpenGraph=async e=>(await post("/opengraph",e)).data,usePostOpenGraph=({body:e})=>{const d=useMutation({mutationFn:postOpenGraph,onSuccess:s=>{console.log("POST ์„ฑ๊ณต, ์˜คํ”ˆ๊ทธ๋ž˜ํ”„ data ๊ฐ’",s),console.log("body๊ฐ’",e)},onError:s=>{console.log(s.message)}}),{isError:c}=d;return{mutation:d,isError:c}},GiftAddFirstLinkLayout=({setStep:e,setLinkText:d,itemNum:c,step:s,setOpenGraph:a,targetDate:i,setModalStatus:o,updateAddGiftInfo:_f,addGiftInfo:en})=>{const[fn,nn]=reactExports.useState(!!en.url),[zn,rn]=reactExports.useState(en.url),{mutation:cn}=usePostOpenGraph({body:{BaseURL:zn}}),Pn=xn=>{try{const vn=cn.mutate({BaseURL:xn},{onSuccess:tn=>{const un=tn.title,Xn=tn.image;a({title:un,image:Xn}),console.log("์˜คํ”ˆ๊ทธ๋ž˜ํ”„ ์ •๋ณด๋ฅผ ๊ฐ€์ ธ์™”์Šต๋‹ˆ๋‹ค.",{giftTitle:un,giftImage:Xn}),console.log("์ž‘์„ฑํ•œ ๋งํฌ ํ…์ŠคํŠธ",zn),console.log("fetchOpenGraph ์† response",vn),d(zn),_f({url:zn,imageUrl:Xn}),e(2)},onError:()=>{o(!0),e(3)}})}catch{e(3)}},dn=async()=>{Pn(zn)};return jsxRuntimeExports$1.jsxs(GiftAddLinkLayoutWrapper,{children:[jsxRuntimeExports$1.jsx(LinkAddHeader,{targetDate:i,setStep:e,step:s,url:zn,updateAddGiftInfo:_f}),jsxRuntimeExports$1.jsx(GiftStatusBar,{registeredGiftNum:c,isMargin:!0}),jsxRuntimeExports$1.jsxs(Title$b,{children:[c===0?"์ฒซ๋ฒˆ์งธ ์ƒํ’ˆ์˜":"๋‘๋ฒˆ์งธ ์ƒํ’ˆ์˜",jsxRuntimeExports$1.jsx("br",{}),"ํŒ๋งค ๋งํฌ๋ฅผ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”"]}),jsxRuntimeExports$1.jsx(InputUrl,{text:zn,setText:rn,setIsActivated:nn}),jsxRuntimeExports$1.jsx(GiftAddBtnWrapper,{setStep:e,isActivated:fn,onClick:dn})]})},MY_GIFT_QUERY_KEY=["myGiftData"],getMyGift=async e=>get(`/gift/my/${e}`),useGetMyGift=({roomId:e})=>{const{data:d,isLoading:c,isError:s}=useSuspenseQuery({queryKey:[MY_GIFT_QUERY_KEY[0],e],queryFn:()=>getMyGift(e)});return{data:d,isLoading:c,isError:s}};async function postNewGift(e){await post("/gift",e)}const usePostGift=(e,d,c,s,a)=>{const i=useNavigate(),o=useQueryClient();return{mutation:useMutation({mutationFn:postNewGift,onSuccess:()=>{console.log("์„ ๋ฌผ ๋“ฑ๋ก ์„ฑ๊ณต!!"),o.invalidateQueries({queryKey:[MY_GIFT_QUERY_KEY[0],e]}),i(`/add-gift/${e}/${d}`),c(0),a(!1),s({name:"",cost:0,imageUrl:"",url:""})},onError:en=>{console.log("์„ ๋ฌผ ๋“ฑ๋ก ์—๋Ÿฌ!!",en.message)}})}},AddGiftFooterWrapper=ut.footer`
display: flex;
justify-content: flex-end;
position: absolute;
Expand All @@ -1951,7 +1951,7 @@ Error generating stack: `+i.message+`
border: none;
border-radius: 9.9rem;
background-color: ${({theme:e})=>e.colors.white};
`;const putMyPresignedUrl=async({presignedUrl:e,binaryData:d})=>await axios$1.put(e,d,{headers:{"Content-Type":"binary"}}),usePutMyPresignedUrl=()=>({mutation:useMutation({mutationFn:putMyPresignedUrl,onSuccess:d=>{console.log("PUT ์„ฑ๊ณต",d)},onError:d=>{console.log("์ด๋ฏธ์ง€ PUT ์—๋Ÿฌ!",d.message)}})}),useBinarizeAndPutImage=()=>{const e=usePutMyPresignedUrl();return{binarizeAndPutImage:async({presignedUrl:c,file:s})=>{const a=await s.arrayBuffer(),i=new Uint8Array(a);try{await e.mutation.mutateAsync({presignedUrl:c,binaryData:i})}catch(o){console.error("๋ฐ”์ด๋„ˆ๋ฆฌ putํ•˜๋‹ค๊ฐ€ error ๋ฐœ์ƒ!",o)}}}},postPresignedUrl=async({filename:e})=>{var d,c;try{const s=e?`presigned-url?fileName=${e}`:"";if(s)return(await post(s,e)).data}catch(s){throw s instanceof AxiosError?new Error(((c=(d=s.response)==null?void 0:d.data)==null?void 0:c.message)??s.message):s}},usePostMyPresignedUrl=e=>{const d=useQueryClient();return useMutation({mutationFn:postPresignedUrl,onSuccess:c=>{console.log("usePostPresignedUrl onSuccess ๋‚ด๊บผ๋กœ ํฌ์ŠคํŠธ ์„ฑ๊ณต~",c),d.invalidateQueries({queryKey:[MY_GIFT_QUERY_KEY[0],e]})},onError:c=>{console.log("๋‚ด ์„ ๋ฌผ PU ๋ฐ›์•„์˜ค๋˜ ์ค‘ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค.",c.message)}})},useGetPresignedUrl=e=>{const d=usePostMyPresignedUrl(e);return{getPresignedUrl:async({fileName:s,setImageUrl:a})=>{if(s){const o=(await d.mutateAsync({filename:s})).presignedUrl,_f=o.split("?")[0];return a(_f),{presignedUrl:o,imageUrlS3:_f}}else return console.log("ํŒŒ์ผ๋ช…์ด ์—†์–ด์„œ fetchPresignedUrl์„ ์‹คํ–‰ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค."),{imageUrl:"",presignedUrl:""}}}},usePutImageUrlToS3=e=>{const{getPresignedUrl:d}=useGetPresignedUrl(e),{binarizeAndPutImage:c}=useBinarizeAndPutImage();return{putImageUrlToS3:async({fileName:a,file:i,roomId:o,setImageUrl:_f})=>{const{presignedUrl:en,imageUrlS3:fn}=await d({roomId:o,fileName:a,setImageUrl:_f});return en&&en!==""?i?await c({presignedUrl:en,file:i}):console.error("ํŒŒ์ผ์ด ์—†์Šต๋‹ˆ๋‹ค"):console.log("preSignedUrl์ด ๋น„์–ด์žˆ์–ด์„œ putPresignedUrl์„ ์‹คํ–‰ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค."),{imageUrlS3:fn}}}},AddGiftFooter=({targetDate:e,roomId:d,setStep:c,isActivated:s,name:a,cost:i,link:o,file:_f,setImageUrl:en,fileName:fn,updateAddGiftInfo:nn,setIsLoading:zn})=>{const{mutation:rn}=usePostGift(d,e,c,nn),{putImageUrlToS3:cn}=usePutImageUrlToS3(d),Pn=async()=>{zn(!0);const{imageUrlS3:dn}=await cn({fileName:fn,file:_f,roomId:d,setImageUrl:en});s&&rn.mutate({roomId:d,name:a,cost:i,imageUrl:dn,url:o}),zn(!1)};return jsxRuntimeExports$1.jsx(AddGiftFooterWrapper,{children:jsxRuntimeExports$1.jsx(GiftAddNextBtn,{isActivated:s,onClick:Pn,children:"์™„๋ฃŒ"})})},AddGiftWithLinkLayoutWrapper=ut.section`
`;const putMyPresignedUrl=async({presignedUrl:e,binaryData:d})=>await axios$1.put(e,d,{headers:{"Content-Type":"binary"}}),usePutMyPresignedUrl=()=>({mutation:useMutation({mutationFn:putMyPresignedUrl,onSuccess:d=>{console.log("PUT ์„ฑ๊ณต",d)},onError:d=>{console.log("์ด๋ฏธ์ง€ PUT ์—๋Ÿฌ!",d.message)}})}),useBinarizeAndPutImage=()=>{const e=usePutMyPresignedUrl();return{binarizeAndPutImage:async({presignedUrl:c,file:s})=>{const a=await s.arrayBuffer(),i=new Uint8Array(a);try{await e.mutation.mutateAsync({presignedUrl:c,binaryData:i})}catch(o){console.error("๋ฐ”์ด๋„ˆ๋ฆฌ putํ•˜๋‹ค๊ฐ€ error ๋ฐœ์ƒ!",o)}}}},postPresignedUrl=async({filename:e})=>{var d,c;try{const s=e?`presigned-url?fileName=${e}`:"";if(s)return(await post(s,e)).data}catch(s){throw s instanceof AxiosError?new Error(((c=(d=s.response)==null?void 0:d.data)==null?void 0:c.message)??s.message):s}},usePostMyPresignedUrl=e=>{const d=useQueryClient();return useMutation({mutationFn:postPresignedUrl,onSuccess:c=>{console.log("usePostPresignedUrl onSuccess ๋‚ด๊บผ๋กœ ํฌ์ŠคํŠธ ์„ฑ๊ณต~",c),d.invalidateQueries({queryKey:[MY_GIFT_QUERY_KEY[0],e]})},onError:c=>{console.log("๋‚ด ์„ ๋ฌผ PU ๋ฐ›์•„์˜ค๋˜ ์ค‘ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค.",c.message)}})},useGetPresignedUrl=e=>{const d=usePostMyPresignedUrl(e);return{getPresignedUrl:async({fileName:s,setImageUrl:a})=>{if(s){const o=(await d.mutateAsync({filename:s})).presignedUrl,_f=o.split("?")[0];return a(_f),{presignedUrl:o,imageUrlS3:_f}}else return console.log("ํŒŒ์ผ๋ช…์ด ์—†์–ด์„œ fetchPresignedUrl์„ ์‹คํ–‰ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค."),{imageUrl:"",presignedUrl:""}}}},usePutImageUrlToS3=e=>{const{getPresignedUrl:d}=useGetPresignedUrl(e),{binarizeAndPutImage:c}=useBinarizeAndPutImage();return{putImageUrlToS3:async({fileName:a,file:i,roomId:o,setImageUrl:_f})=>{const{presignedUrl:en,imageUrlS3:fn}=await d({roomId:o,fileName:a,setImageUrl:_f});return en&&en!==""?i?await c({presignedUrl:en,file:i}):console.error("ํŒŒ์ผ์ด ์—†์Šต๋‹ˆ๋‹ค"):console.log("preSignedUrl์ด ๋น„์–ด์žˆ์–ด์„œ putPresignedUrl์„ ์‹คํ–‰ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค."),{imageUrlS3:fn}}}},AddGiftFooter=({targetDate:e,roomId:d,setStep:c,isActivated:s,name:a,cost:i,link:o,file:_f,setImageUrl:en,fileName:fn,updateAddGiftInfo:nn,setIsLoading:zn})=>{const{mutation:rn}=usePostGift(d,e,c,nn,zn),{putImageUrlToS3:cn}=usePutImageUrlToS3(d),Pn=async()=>{zn(!0);const{imageUrlS3:dn}=await cn({fileName:fn,file:_f,roomId:d,setImageUrl:en});s&&rn.mutate({roomId:d,name:a,cost:i,imageUrl:dn,url:o})};return jsxRuntimeExports$1.jsx(AddGiftFooterWrapper,{children:jsxRuntimeExports$1.jsx(GiftAddNextBtn,{isActivated:s,onClick:Pn,children:"์™„๋ฃŒ"})})},AddGiftWithLinkLayoutWrapper=ut.section`
width: 100%;

display: flex;
Expand Down Expand Up @@ -2059,7 +2059,7 @@ Error generating stack: `+i.message+`
}
}
}
`,ItemTextField=({text:e,handleTextChange:d,type:c,categoryTitle:s,placeholderText:a})=>{const i=_f=>{const en=_f.target.value;d(en)},o=()=>{d("")};return jsxRuntimeExports$1.jsxs(ItemTextFieldWrapper,{children:[jsxRuntimeExports$1.jsx(CategoryTitle,{children:s}),jsxRuntimeExports$1.jsxs(Wrapper,{$hasContent:e.length>0,children:[jsxRuntimeExports$1.jsx(TextField,{children:jsxRuntimeExports$1.jsx(Input,{type:c,value:e,onChange:i,placeholder:a})}),c==="number"?"":jsxRuntimeExports$1.jsx(IconField,{children:e.length>0&&jsxRuntimeExports$1.jsx(SvgIcCancelCircleFinal,{style:{width:"2.4rem",height:"2.4rem"},onClick:o})})]})]})},WriteItemInfo$1=({imageUrl:e,setIsActivated:d,setName:c,setCost:s,setUrl:a,name:i,cost:o,url:_f})=>{const en=(rn,cn)=>{rn.length>0&&cn.length>0&&e!==""?d(!0):d(!1)},fn=rn=>{c(rn),o!==null&&en(rn,o.toString())},nn=rn=>{rn!==null&&(s(rn),en(i,rn.toString()))},zn=rn=>{a(rn)};return jsxRuntimeExports$1.jsxs(WriteItemInfoWrapper,{children:[jsxRuntimeExports$1.jsx(ItemTextField,{type:"text",text:i,handleTextChange:fn,placeholderText:"์ƒํ’ˆ๋ช…์„ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”",categoryTitle:"์ƒํ’ˆ์ด๋ฆ„"}),jsxRuntimeExports$1.jsx(ItemTextField,{text:o?o.toString():"",handleTextChange:rn=>nn(Number(rn)),type:"number",categoryTitle:"๊ฐ€๊ฒฉ",placeholderText:"๊ฐ€๊ฒฉ์„ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”"}),jsxRuntimeExports$1.jsx(ItemTextField,{text:_f,handleTextChange:zn,categoryTitle:"๋งํฌ",placeholderText:"๋งํฌ๋ฅผ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š” (์„ ํƒ)",type:"text"})]})},AddGiftWithoutLinkLayout=({roomId:e,step:d,setStep:c,linkText:s,setLinkText:a,targetDate:i,updateAddGiftInfo:o,modalStatus:_f,addGiftInfo:en,setIsLoading:fn})=>{const[nn,zn]=reactExports.useState(!!en.name&&!!en.cost&&!!en.url&&!!en.imageUrl),[rn,cn]=reactExports.useState(en.name),[Pn,dn]=reactExports.useState(en.cost),[xn,vn]=reactExports.useState(en.imageUrl),[tn,un]=reactExports.useState(""),[Xn,jn]=reactExports.useState(null),[,On]=reactExports.useState(!1),[,an]=reactExports.useState(null),[bn,Nn]=reactExports.useState(_f),Vn=Mn=>Mn===null?0:Mn,qn=()=>{Nn(!bn),c(3)};return jsxRuntimeExports$1.jsxs(AddGiftWithLinkLayoutWrapper,{children:[bn&&jsxRuntimeExports$1.jsxs(Modal,{onConfirmClick:qn,children:["์ƒํ’ˆ ์ •๋ณด๋ฅผ ์ž๋™์œผ๋กœ",jsxRuntimeExports$1.jsx("br",{}),"๋ถˆ๋Ÿฌ์˜ฌ ์ˆ˜ ์—†์–ด์š” ",jsxRuntimeExports$1.jsx("br",{})]}),jsxRuntimeExports$1.jsx(LinkAddHeader,{targetDate:i,setStep:c,step:d,name:rn,cost:Pn,imageUrl:xn,updateAddGiftInfo:o}),jsxRuntimeExports$1.jsx(GiftStatusBar,{registeredGiftNum:1,isMargin:!0}),jsxRuntimeExports$1.jsx(AddGiftImg,{imageUrl:xn,openGraph:null,setFile:jn,setFileName:un,setImageUrl:vn,setPreviewImage:an,setIsImageUploaded:On}),jsxRuntimeExports$1.jsx(WriteItemInfo$1,{imageUrl:xn,setIsActivated:zn,setName:cn,setCost:dn,setUrl:a,name:rn,cost:Pn,url:s}),jsxRuntimeExports$1.jsx(AddGiftFooter,{targetDate:i,name:rn,cost:Vn(Pn),link:s,setStep:c,isActivated:nn,roomId:e,fileName:tn,updateAddGiftInfo:o,file:Xn,setImageUrl:vn,setIsLoading:fn})]})},GiftAddPageWrapper=ut.div`
`,ItemTextField=({text:e,handleTextChange:d,type:c,categoryTitle:s,placeholderText:a})=>{const i=_f=>{const en=_f.target.value;d(en)},o=()=>{d("")};return jsxRuntimeExports$1.jsxs(ItemTextFieldWrapper,{children:[jsxRuntimeExports$1.jsx(CategoryTitle,{children:s}),jsxRuntimeExports$1.jsxs(Wrapper,{$hasContent:e.length>0,children:[jsxRuntimeExports$1.jsx(TextField,{children:jsxRuntimeExports$1.jsx(Input,{type:c,value:e,onChange:i,placeholder:a})}),c==="number"?"":jsxRuntimeExports$1.jsx(IconField,{children:e.length>0&&jsxRuntimeExports$1.jsx(SvgIcCancelCircleFinal,{style:{width:"2.4rem",height:"2.4rem"},onClick:o})})]})]})},WriteItemInfo$1=({imageUrl:e,setIsActivated:d,setName:c,setCost:s,setUrl:a,name:i,cost:o,url:_f})=>{const en=(rn,cn)=>{rn.length>0&&cn.length>0&&e!==""?d(!0):d(!1)},fn=rn=>{c(rn),o!==null&&en(rn,o.toString())},nn=rn=>{rn!==null&&(s(rn),en(i,rn.toString()))},zn=rn=>{a(rn)};return jsxRuntimeExports$1.jsxs(WriteItemInfoWrapper,{children:[jsxRuntimeExports$1.jsx(ItemTextField,{type:"text",text:i,handleTextChange:fn,placeholderText:"์ƒํ’ˆ๋ช…์„ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”",categoryTitle:"์ƒํ’ˆ์ด๋ฆ„"}),jsxRuntimeExports$1.jsx(ItemTextField,{text:o?o.toString():"",handleTextChange:rn=>nn(Number(rn)),type:"number",categoryTitle:"๊ฐ€๊ฒฉ",placeholderText:"๊ฐ€๊ฒฉ์„ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”"}),jsxRuntimeExports$1.jsx(ItemTextField,{text:_f,handleTextChange:zn,categoryTitle:"๋งํฌ",placeholderText:"๋งํฌ๋ฅผ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š” (์„ ํƒ)",type:"text"})]})},AddGiftWithoutLinkLayout=({roomId:e,step:d,setStep:c,linkText:s,setLinkText:a,targetDate:i,updateAddGiftInfo:o,modalStatus:_f,addGiftInfo:en,setIsLoading:fn})=>{const[nn,zn]=reactExports.useState(!!en.name&&!!en.cost&&!!en.url&&!!en.imageUrl),[rn,cn]=reactExports.useState(en.name),[Pn,dn]=reactExports.useState(en.cost),[xn,vn]=reactExports.useState(en.imageUrl),[tn,un]=reactExports.useState(""),[Xn,jn]=reactExports.useState(null),[,On]=reactExports.useState(!1),[,an]=reactExports.useState(null),[bn,Nn]=reactExports.useState(_f),Vn=Mn=>Mn===null?0:Mn,qn=()=>{Nn(!1),c(3)};return jsxRuntimeExports$1.jsxs(AddGiftWithLinkLayoutWrapper,{children:[bn&&jsxRuntimeExports$1.jsxs(Modal,{onConfirmClick:qn,children:["์ƒํ’ˆ ์ •๋ณด๋ฅผ ์ž๋™์œผ๋กœ",jsxRuntimeExports$1.jsx("br",{}),"๋ถˆ๋Ÿฌ์˜ฌ ์ˆ˜ ์—†์–ด์š” ",jsxRuntimeExports$1.jsx("br",{})]}),jsxRuntimeExports$1.jsx(LinkAddHeader,{targetDate:i,setStep:c,step:d,name:rn,cost:Pn,imageUrl:xn,updateAddGiftInfo:o}),jsxRuntimeExports$1.jsx(GiftStatusBar,{registeredGiftNum:1,isMargin:!0}),jsxRuntimeExports$1.jsx(AddGiftImg,{imageUrl:xn,openGraph:null,setFile:jn,setFileName:un,setImageUrl:vn,setPreviewImage:an,setIsImageUploaded:On}),jsxRuntimeExports$1.jsx(WriteItemInfo$1,{imageUrl:xn,setIsActivated:zn,setName:cn,setCost:dn,setUrl:a,name:rn,cost:Pn,url:s}),jsxRuntimeExports$1.jsx(AddGiftFooter,{targetDate:i,name:rn,cost:Vn(Pn),link:s,setStep:c,isActivated:nn,roomId:e,fileName:tn,updateAddGiftInfo:o,file:Xn,setImageUrl:vn,setIsLoading:fn})]})},GiftAddPageWrapper=ut.div`
display: flex;
flex-direction: column;
justify-content: flex-end;
Expand Down
2 changes: 1 addition & 1 deletion pr-preview/pr-393/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
name="description"
content="์Šค์œ—์—์„œ๋Š” ๋ชจ๋‘๊ฐ€ ํ•จ๊ป˜ํ•˜๋Š” ์„ ๋ฌผ ๋“ฑ๋ก๊ณผ ํ† ๋„ˆ๋จผํŠธ๋ฅผ ํ†ตํ•ด ํ•œ ์‚ฌ๋žŒ์„ ์œ„ํ•œ ์˜๋ฏธ์žˆ๋Š” ์„ ๋ฌผ์„ ๊ณ ๋ฅผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค."
/>
<script type="module" crossorigin src="/assets/index-ZXvswBQT.js"></script>
<script type="module" crossorigin src="/assets/index-L3la6Fy0.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index--ePcnJTE.css">
</head>
<body>
Expand Down

0 comments on commit 4824f9f

Please sign in to comment.