From 9a9d61235442279ecd7f55052ac63cfa29339ed4 Mon Sep 17 00:00:00 2001 From: qkdflrgs Date: Fri, 4 Aug 2023 11:30:19 +0900 Subject: [PATCH] =?UTF-8?q?feat/#48:=20api=20=EC=8A=A4=ED=8A=B8=EB=A7=81?= =?UTF-8?q?=EC=BF=BC=EB=A6=AC=20=ED=98=95=EC=8B=9D=EB=A5=BC=20filter=20?= =?UTF-8?q?=EC=9E=85=EB=A0=A5=20=ED=98=95=EC=8B=9D=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=ED=8C=8C=EC=8B=B1=ED=95=98=EB=8A=94=20=ED=95=A8=EC=88=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FE/src/utils/parseParam.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 FE/src/utils/parseParam.ts diff --git a/FE/src/utils/parseParam.ts b/FE/src/utils/parseParam.ts new file mode 100644 index 000000000..c51e47f84 --- /dev/null +++ b/FE/src/utils/parseParam.ts @@ -0,0 +1,3 @@ +export default function parseParam(value: string | undefined): string { + return value === undefined ? "" : value.replace(/&/g, " "); +}