Skip to content

Commit

Permalink
Merge pull request #105 from Review-zip/fix-error
Browse files Browse the repository at this point in the history
Fix error
  • Loading branch information
gkqkehs7 authored Feb 20, 2024
2 parents 0394252 + 38477a3 commit 0b5d7f8
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
14 changes: 14 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"dependencies": {
"autosize": "^6.0.1",
"axios": "^1.6.7",
"browser-image-compression": "^2.0.2",
"dotenv": "^16.4.1",
"esbuild": "^0.20.0",
"http-proxy-middleware": "^2.0.6",
Expand Down
1 change: 1 addition & 0 deletions src/components/common/frameComponent/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const styles = {
object-fit: cover;
width: 100%;
height: auto;
height: 300px;
`,

StarContainer: styled.div`
Expand Down
2 changes: 1 addition & 1 deletion src/components/uploadPostComponent/uploadPostComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
CreateImagesResponse,
} from '@/types/response.types';
import MapComponent from '../mapPageComponent/mapComponent/mapComponent';
import imageCompression from 'browser-image-compression';

interface UploadPostComponentProps {
userInfo: User;
Expand Down Expand Up @@ -79,7 +80,6 @@ const UploadPostComponent: React.FC<UploadPostComponentProps> = ({
try {
const formData = new FormData();

// 이미지들 파일에 저장
files.forEach((file) => {
formData.append('fileList', file.file);
});
Expand Down

0 comments on commit 0b5d7f8

Please sign in to comment.