Skip to content

Commit

Permalink
Merge pull request #47 from team-pofo/fix/#46/buildError
Browse files Browse the repository at this point in the history
fix/#46/buildError
  • Loading branch information
sukjuhong authored Jan 8, 2025
2 parents 218bd69 + 80aa8da commit 60950e6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions src/components/LoginModal/LoginModel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ import { Popover, PopoverContent, PopoverTrigger } from "../ui/popover";
interface ModalProps {
onClose: () => void;
children?: ReactNode;
initialStep?: "emailLogin" | "emailSignup" | "passwordReset";
initialStep?:
| "emailLogin"
| "emailSignup"
| "passwordReset"
| "main"
| "signup";
}

const Modal: React.FC<ModalProps> = ({
Expand Down Expand Up @@ -129,7 +134,7 @@ const Modal: React.FC<ModalProps> = ({
// 회원가입 요청 처리
const handleSignUp = async (e: React.FormEvent) => {
e.preventDefault();
const { email, password, Nickname } = formData;
const { email, password } = formData;

// TODO 닉네임도 회원가입때 같이 넘겨야함
try {
Expand Down
4 changes: 2 additions & 2 deletions src/components/Project/MDEditor/MdeditorViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import "@uiw/react-md-editor/markdown-editor.css";
import "@uiw/react-markdown-preview/markdown.css";
import styles from "./styles.module.css";
import dynamic from "next/dynamic";
import { ProjectProps } from "@/libs/interface/iProject";
import { IProjectProps } from "@/libs/interface/iProject";

const MDEditor = dynamic(() => import("@uiw/react-md-editor"), { ssr: false });

function MDEditorViewer({ project }: ProjectProps) {
function MDEditorViewer({ project }: IProjectProps) {
return (
<div style={{ marginTop: "20px" }}>
<MDEditor
Expand Down
5 changes: 5 additions & 0 deletions src/libs/enum/loginInitialStep.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export enum LoginInitialStep {
emailLogin = "emailLogin",
emailSignup = "emailSignup",
passwordReset = "passwordReset",
}
Empty file removed src/pages/counter/index.tsx
Empty file.

0 comments on commit 60950e6

Please sign in to comment.