Skip to content

Commit

Permalink
fix(bottle): change image uploads to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
stakbucks committed Nov 13, 2024
1 parent a584171 commit 73c7bc2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions apps/bottle/src/components/intro/images/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ export function Images({
})
}
images={images}
maxImages={
// TODO: Change this to 3 when the feature is ready on native app
1
}
maxImages={3}
labels={['프로필 사진']}
onChange={files => {
setImages(files);
Expand All @@ -54,9 +51,6 @@ export function Images({
const newUrls = await uploadImages(newImages);
await onNext([...images.filter(image => typeof image === 'string'), ...newUrls]);
setIsLoading(false);
newUrls.forEach(url => {
console.log('URL: ', url);
});
}}
>
{ctaButtonText}
Expand Down

0 comments on commit 73c7bc2

Please sign in to comment.