+
{/* TODO : 하드코딩 데이터 구간 */}
{
@@ -95,6 +134,23 @@ const ModalPop = ({ onClose }: ModalPopProps) => {
/>
{/* TODO : 하드코딩 데이터 구간 */}
+
+ {categoryPopupMode && (
+
{
+ setCategories((prev) =>
+ prev.filter((cat) => cat !== selectedCategory)
+ );
+ setSelectedCategory('');
+ handlePopupClose();
+ }}
+ />
+ )}
);
};
diff --git a/apps/extension/src/components/modalPop/ModalPop.tsx b/apps/extension/src/components/modalPop/ModalPop.tsx
index d766d21..cd49799 100644
--- a/apps/extension/src/components/modalPop/ModalPop.tsx
+++ b/apps/extension/src/components/modalPop/ModalPop.tsx
@@ -1,15 +1,15 @@
-import { useState } from 'react';
+import { POP_TEXTAREA_MAX_LENGTH } from '@constants/index';
import {
CategoryDropDown,
CommonBtn,
InfoBox,
TextArea,
+ TextFieldPopup,
TimePicker,
ToggleButton,
} from '@pinback/design-system/ui';
+import { useState } from 'react';
import ModalHeader from './ModalHeader';
-import { POP_TEXTAREA_MAX_LENGTH } from '@constants/index';
-import { TextFieldPopup } from '@pinback/design-system/ui';
interface ModalPopProps {
urlInfo: string;
diff --git a/packages/design-system/src/components/InfoBox/InfoBox.tsx b/packages/design-system/src/components/InfoBox/InfoBox.tsx
index ff7544f..cf1305a 100644
--- a/packages/design-system/src/components/InfoBox/InfoBox.tsx
+++ b/packages/design-system/src/components/InfoBox/InfoBox.tsx
@@ -18,11 +18,13 @@ const InfoBox = ({ size = 'large', title, location, icon }: InfoBoxProps) => {
src={icon}
/>
-
+
{location}
{title}
diff --git a/packages/design-system/src/components/textfieldPopup/TextfieldPopup.tsx b/packages/design-system/src/components/textfieldPopup/TextfieldPopup.tsx
index 5f763f9..63b179f 100644
--- a/packages/design-system/src/components/textfieldPopup/TextfieldPopup.tsx
+++ b/packages/design-system/src/components/textfieldPopup/TextfieldPopup.tsx
@@ -1,7 +1,6 @@
-import { useRef, useState } from 'react';
import { Icon } from '@pinback/design-system/icons';
-import { CommonBtn } from '@pinback/design-system/ui';
-import { Input } from '@pinback/design-system/ui';
+import { CommonBtn, Input } from '@pinback/design-system/ui';
+import { useRef, useState } from 'react';
type Mode = 'add' | 'edit' | 'delete';
@@ -159,7 +158,7 @@ const TextfieldPopup = ({
};
return (
-