Skip to content

Commit

Permalink
refactor: 모달 open시 사용되는 modalType 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kyw0716 committed Mar 31, 2023
1 parent c737c26 commit 34e0c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class Modal {
});
}

open(modalType: "movieDetail" | string, movieId: number | undefined) {
open(modalType: "movieDetail", movieId: number | undefined) {
const modalSection = $(".modal-section");

if (modalType === "movieDetail" && movieId)
Expand Down

0 comments on commit 34e0c0a

Please sign in to comment.