From 239b61aec30814dc82a32a7c442ebbc432b2773f Mon Sep 17 00:00:00 2001 From: Ubinquitous Date: Sun, 24 Sep 2023 23:21:21 +0900 Subject: [PATCH 01/59] =?UTF-8?q?fix(storage):=20null=20=EB=8C=80=EC=8B=A0?= =?UTF-8?q?=20=EB=B9=88=20=EB=AC=B8=EC=9E=90=EC=97=B4=20=EB=B0=98=ED=99=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/storage/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apis/storage/index.ts b/src/apis/storage/index.ts index 826c5dc2..cab8d660 100644 --- a/src/apis/storage/index.ts +++ b/src/apis/storage/index.ts @@ -4,7 +4,7 @@ type StorageKey = StorageSettingKey | StorageTokenKey; export default class Storage { static getItem(key: StorageKey) { - return typeof window !== "undefined" ? localStorage.getItem(key) : null; + return typeof window !== "undefined" ? localStorage.getItem(key) : ""; } static setItem(key: StorageKey, value: string) { From a2e0098298373f5d1d0cc58ac6eaaf69fde31913 Mon Sep 17 00:00:00 2001 From: Ubinquitous Date: Tue, 26 Sep 2023 17:01:34 +0900 Subject: [PATCH 02/59] =?UTF-8?q?chore(lostfound):=20=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=20post=EB=A1=9C=20=EB=B3=91=ED=95=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/lostfound-post/index.tsx | 29 ------- .../LostFoundBody/LostFoundInfoBox.tsx | 59 -------------- .../layouts/LostFoundBody/index.tsx | 42 ---------- .../layouts/LostFoundHead/Category.tsx | 36 --------- .../layouts/LostFoundHead/LostFoundTitle.tsx | 60 -------------- .../layouts/LostFoundHead/index.tsx | 21 ----- .../layouts/LostFoundPostBox.tsx | 25 ------ src/page/lostfound-write/index.tsx | 29 ------- src/page/lostfound-write/layouts/InputBox.tsx | 66 ---------------- .../layouts/LostFoundWriteBox.tsx | 42 ---------- src/page/lostfound-write/layouts/StateBox.tsx | 51 ------------ src/page/lostfound/index.tsx | 29 ------- src/page/lostfound/layouts/LostFoundBox.tsx | 23 ------ .../lostfound/layouts/LostFoundFIlter.tsx | 76 ------------------ src/page/lostfound/layouts/LostFoundList.tsx | 14 ---- .../lostfound/layouts/LostFoundListItem.tsx | 78 ------------------- src/page/lostfound/layouts/States.tsx | 39 ---------- 17 files changed, 719 deletions(-) delete mode 100644 src/page/lostfound-post/index.tsx delete mode 100644 src/page/lostfound-post/layouts/LostFoundBody/LostFoundInfoBox.tsx delete mode 100644 src/page/lostfound-post/layouts/LostFoundBody/index.tsx delete mode 100644 src/page/lostfound-post/layouts/LostFoundHead/Category.tsx delete mode 100644 src/page/lostfound-post/layouts/LostFoundHead/LostFoundTitle.tsx delete mode 100644 src/page/lostfound-post/layouts/LostFoundHead/index.tsx delete mode 100644 src/page/lostfound-post/layouts/LostFoundPostBox.tsx delete mode 100644 src/page/lostfound-write/index.tsx delete mode 100644 src/page/lostfound-write/layouts/InputBox.tsx delete mode 100644 src/page/lostfound-write/layouts/LostFoundWriteBox.tsx delete mode 100644 src/page/lostfound-write/layouts/StateBox.tsx delete mode 100644 src/page/lostfound/index.tsx delete mode 100644 src/page/lostfound/layouts/LostFoundBox.tsx delete mode 100644 src/page/lostfound/layouts/LostFoundFIlter.tsx delete mode 100644 src/page/lostfound/layouts/LostFoundList.tsx delete mode 100644 src/page/lostfound/layouts/LostFoundListItem.tsx delete mode 100644 src/page/lostfound/layouts/States.tsx diff --git a/src/page/lostfound-post/index.tsx b/src/page/lostfound-post/index.tsx deleted file mode 100644 index c0347d5d..00000000 --- a/src/page/lostfound-post/index.tsx +++ /dev/null @@ -1,29 +0,0 @@ -import styled from "styled-components"; -import { Aside } from "@/components/common/"; -import LostFoundPostBox from "./layouts/LostFoundPostBox"; - -const LostFoundPostPage = () => { - return ( - - - -