Skip to content

Commit

Permalink
chore: add firstprops interface and margin in prev btn
Browse files Browse the repository at this point in the history
  • Loading branch information
moolmin committed Oct 9, 2024
1 parent 1371adb commit 848d001
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/app/(pages)/4q-create/_components/first.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ import { Form, Select, Input, Modal, Tooltip } from "antd";
import styles from "./first.module.css";
import TagSelector from "../(modals)/tagSelectModal";
import tagTranslationMap from '@/lib/tagTranslationKrEn'
import { FirstProps } from '../../../../../next-env'

const { Option } = Select;

const STORAGE_KEY = "form_data";

interface FirstProps {
formRef: React.RefObject<any>;
onSubmit: () => void;
}

export default function First({ formRef, onSubmit }: FirstProps) {
const [isModalOpen, setIsModalOpen] = useState(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: -80px;
bottom: -50px;
}
5 changes: 5 additions & 0 deletions src/app/(pages)/4q-gallery/_components/first.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ import styles from "./first.module.css";

const STORAGE_KEY = "form_data";

interface FirstProps {
formRef: React.RefObject<any>;
onSubmit: () => void;
}

export default function First({ formRef, onSubmit }: FirstProps) {
const [value, setValue] = useState<string[]>([]);

Expand Down
1 change: 1 addition & 0 deletions src/app/(pages)/4q-gallery/_components/second.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
display: flex;
align-items: center;
justify-content: center;
margin-top: 40px;
}

.submitBtn {
Expand Down

0 comments on commit 848d001

Please sign in to comment.