Skip to content

Commit

Permalink
style: code 정리
Browse files Browse the repository at this point in the history
  • Loading branch information
5nxtnxtnxt committed Jul 19, 2024
1 parent a2578f1 commit 2ad3974
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions app/writepost/page.tsx
Original file line number Diff line number Diff line change
@@ -140,11 +140,9 @@ export default function WritePost() {
fileList={files}
setFileList={setFiles}
className="flex flex-col gap-3"
></ImageInputForm>
/>

{errorMsg ? (
<div className="text-red-500 pb-4">{errorMsg}</div>
) : null}
{errorMsg && <div className="text-red-500 pb-4">{errorMsg}</div>}
<div className="grid grid-cols-2 gap-10 ">
<Link href="/feed" className="w-full">
<Button className="bg-white text-gray-700 w-full rounded-[2px] border">
2 changes: 1 addition & 1 deletion components/imageInputForm.tsx
Original file line number Diff line number Diff line change
@@ -93,7 +93,7 @@ export default function ImageInputForm({
console.log(fileList);
return (
<div
className={props.className}
{...props}
onDrop={onDrop}
onDragEnter={onDragEnter}
onDragLeave={onDragLeave}

0 comments on commit 2ad3974

Please sign in to comment.