Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Etc] 기타 수정할 것들 PR #270

Merged
merged 2 commits into from
Jul 19, 2024
Merged
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
1 change: 0 additions & 1 deletion src/apis/domains/performance/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ export type PerformanceUpdateResponse = components["schemas"]["PerformanceUpdate
export const updatePerformance = async (
formData
): Promise<PerformanceUpdateResponse | null | any> => {
console.log(formData);
try {
const response = await put("/performances", formData);

Expand Down
10 changes: 0 additions & 10 deletions src/components/commons/navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@ const Navigation = () => {
const { header } = useHeader();
const { headerStyle, title, subText, leftOnClick, rightOnClick } = header;

//함수 연결은 거의 필수이므로, 경고 콘솔 띄워 디버깅 용이하도록 구성.
if (!leftOnClick) {
//만약 왼쪽 함수를 부여하지 않았다면
console.log("warn: 왼쪽 버튼 미연결");
}
if (!rightOnClick) {
//만약 오른쪽 함수를 부여하지 않았다면
console.log("warn: 오른쪽 버튼 미연결");
}

if (headerStyle === NAVIGATION_STATE.ICON_TITLE) {
return (
<S.NavigationWrapper>
Expand Down
3 changes: 2 additions & 1 deletion src/pages/modalTest/BankAccount.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Button from "@components/commons/button/Button";
import Toast from "@components/commons/toast/Toast";
import useModal from "@hooks/useModal";
import useToast from "@hooks/useToast";
import { getBankNameKr } from "@utils/getBankName";
import styled from "styled-components";

interface BankNumberProps {
Expand All @@ -24,7 +25,7 @@ const BankAccount = ({ bankName, number, accountName, accountNumber, price }: Ba

const handleDepositClick = () => {
window.open(
`supertoss://send?bank=${bankName}&accountNo=${accountNumber}&origin=linkgen&amount=${price}`
`supertoss://send?bank=${getBankNameKr(bankName)}&accountNo=${accountNumber}&origin=linkgen&amount=${price}`
);
};

Expand Down
4 changes: 2 additions & 2 deletions src/pages/modifyManage/components/PosterThumbnail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ const PosterThumbnail = ({ value, onImageUpload }: PosterThumbnailProps) => {
<S.InputDescription $warning={true}>*포스터 썸네일은 수정불가합니다.</S.InputDescription>
<Spacing marginBottom="1.4" />
<S.FileInputWrapper>
<S.HiddenFileInput type="file" id="file" disabled={true} onChange={uploadFile} />
{/* <S.HiddenFileInput type="file" id="file" disabled={true} onChange={uploadFile} />
<S.CustomFileInput htmlFor="file">
<IconCamera width={"3.2rem"} />
</S.CustomFileInput>
</S.CustomFileInput> */}
{previewImg && (
<S.PreviewImageWrapper>
<S.PreviewImage src={previewImg} alt="Preview" />
Expand Down
2 changes: 1 addition & 1 deletion src/styles/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const global = createGlobalStyle`
html {
font-size: 62.5%;

background-color: ${({ theme }) => theme.colors.black};
background-color: ${({ theme }) => theme.colors.gray_900};

user-select: none;
-webkit-touch-callout: none;
Expand Down
Loading