Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/ActionSheet/index.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import S from './style';
import { Button2 } from '../UI';

interface colorProps {
interface buttonProps {
buttonClick: () => void;
name: string;
}

interface ActionSheetProps {
buttons?: colorProps[];
buttons?: buttonProps[];
}

export default function ActionSheet({ buttons }: ActionSheetProps) {
Expand Down
2 changes: 1 addition & 1 deletion components/BottomNavBar/style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const BottomComponent = styled.div`
justify-content: center;
width: 100%;
max-width: 430px;
background-color: #ffffff;
background-color: ${(props) => props.theme.color.grey_100};
position: fixed;
bottom: 0;
justify-content: space-around;
Expand Down
1 change: 0 additions & 1 deletion components/Button/style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ interface ButtonData {

const Buttons = styled.button<ButtonData>`
border: ${(props) => (props.buttonData.border ? '1px solid black' : 'none')};
//props.theme.color -> 색상 디자인 토큰을 사용하기 위한 코드
background-color: ${(props) =>
props.theme.color[props.buttonData.backgroundColor]};
color: ${(props) => props.theme.color[props.buttonData.color]};
Expand Down
1 change: 0 additions & 1 deletion components/Domain/AddCloth/ClothSizeModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export default function ClothSizeModal({
useEffect(() => {
const fetchData = async () => {
const result = await getSize(categoryId);
console.log('a', result);
const newSizeList = [] as SizeListType;
if (clothSizeInitial) setSelectedClothSize(clothSizeInitial);

Expand Down
14 changes: 4 additions & 10 deletions components/Domain/MyPage/Edit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ export default function Edit({
}: ActionSheetProps) {
const router = useRouter();

const [profileImage, setProfileImage] = useState<string>(
'/images/basicProfile.svg'
);
const [profileImage, setProfileImage] =
useState<string>('/images/Avatar.svg');

const [originProfile, setOriginProfile] = useState<string>(
'/images/basicProfile.svg'
);
const [originProfile, setOriginProfile] =
useState<string>('/images/Avatar.svg');

const [nickNameCheck, setNickNameCheck] = useState<Boolean>(true);
const [nickName, setNickName] = useState<string>('닉네임');
Expand All @@ -44,19 +42,16 @@ export default function Edit({
const { getProfile, patchProfile } = UserApi();

const takePicture = () => {
console.log('사진 촬영');
sendReactNativeMessage({ type: 'TakeProfile' });
setOpenActionSheet(false); // 액션 시트 자동 종료
};

const choosePicture = () => {
console.log('앨범에서 선택');
sendReactNativeMessage({ type: 'Profile' });
setOpenActionSheet(false); // 액션 시트 자동 종료
};

const deleteImage = () => {
console.log('기본 이미지로 변경');
setProfileImage('/images/Avatar.svg');
setOpenActionSheet(false); // 액션 시트 자동 종료
};
Expand All @@ -78,7 +73,6 @@ export default function Edit({
useEffect(() => {
const ferchData = async () => {
const result = await getProfile();
console.log(result);

setNickName(result.name);
setIntroduction(result.description);
Expand Down
2 changes: 1 addition & 1 deletion components/ImageCheckBoxList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default function ImageCheckBoxList({
) : (
<Image
src={BookmarkCheckBoxFalse}
alt={`CheckBox False'`}
alt={`CheckBox False`}
className="checkBoxImage"
onClick={() => toggleChecked(item.ootdBookmarkId!)}
width={24}
Expand Down
1 change: 0 additions & 1 deletion components/ReceivedDeclarationModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export default function ReceivedDeclarationModal({

const blockUserButton = async () => {
const blockUser = await postUserBlock({ userId: ID });
console.log(blockUser);

if (blockUser.divisionCode === 'UB003') {
setReceivedDeclaration(false); // 차단 모달 닫기
Expand Down
54 changes: 0 additions & 54 deletions components/sample.tsx

This file was deleted.

1 change: 0 additions & 1 deletion pages/bookmark/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ export default function Bookmark() {
useEffect(() => {
setBookmarkList(
bookmarkData.map((item: any) => {
console.log(item);
return {
ootdId: item.ootdId,
ootdBookmarkId: item.ootdBookmarkId,
Expand Down
1 change: 0 additions & 1 deletion pages/cloth/[...ClothNumber].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ const Cloth = () => {
payload
);
setReRender(reRender + 1);
console.log(result);
setClickedRight(false); // ActionSheet 숨기기
};

Expand Down
1 change: 0 additions & 1 deletion pages/follow-list/[...UserId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export default function FollowList() {
};

const onClickYesButton = () => {
console.log('팔로우');
setAlertOpen(false);
setToastOpen(true);
};
Expand Down
1 change: 0 additions & 1 deletion pages/settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export default function Setting() {
const { logout } = UserApi();

const shareButton = () => {
console.log('이메일 복사');
setURLState(false); // 재공유 toast 노출 초기화
sendReactNativeMessage({ type: 'copyEmail' }); // native로 클립보드 복사 처리
};
Expand Down
5 changes: 0 additions & 5 deletions public/images/basicProfile.svg

This file was deleted.

Binary file removed public/images/defaultUserProfile.png
Binary file not shown.
Binary file removed public/images/hood1.png
Binary file not shown.
Binary file removed public/images/hood2.png
Binary file not shown.
Binary file removed public/images/long13.png
Binary file not shown.