diff --git a/packages/fakeyou.com/src/components/common/SelectSearcher/SelectSearcher.tsx b/packages/fakeyou.com/src/components/common/SelectSearcher/SelectSearcher.tsx
index 8e4e9973a0..85386a1a60 100644
--- a/packages/fakeyou.com/src/components/common/SelectSearcher/SelectSearcher.tsx
+++ b/packages/fakeyou.com/src/components/common/SelectSearcher/SelectSearcher.tsx
@@ -16,78 +16,81 @@ interface TabConfig {
interface SelectSearcherProps {
label?: string;
tabs: TabConfig[];
+ modalTitle?: string;
}
-const SelectSearcher = memo(({ label, tabs }: SelectSearcherProps) => {
- const [isModalOpen, setIsModalOpen] = useState(false);
- const { weightTitle, setWeightTitle } = useToken();
+const SelectSearcher = memo(
+ ({ label, tabs, modalTitle = "Select" }: SelectSearcherProps) => {
+ const [isModalOpen, setIsModalOpen] = useState(false);
+ const { weightTitle, setWeightTitle } = useToken();
- const openModal = () => {
- setIsModalOpen(true);
- };
+ const openModal = () => {
+ setIsModalOpen(true);
+ };
- const closeModal = () => {
- setIsModalOpen(false);
- };
+ const closeModal = () => {
+ setIsModalOpen(false);
+ };
- const handleRemove = () => {
- setWeightTitle && setWeightTitle("");
- };
+ const handleRemove = () => {
+ setWeightTitle && setWeightTitle("");
+ };
- const searchTabs = tabs.map(tab => ({
- label: tab.label,
- content: tab.searcherKey ? (
-