diff --git a/client/src/pages/MapTest.tsx b/client/src/pages/MapTest.tsx
index 8f454fc..0896451 100644
--- a/client/src/pages/MapTest.tsx
+++ b/client/src/pages/MapTest.tsx
@@ -15,7 +15,7 @@ import { Button } from "@fluentui/react-components";
import { Add12Filled, Dismiss12Filled, Map16Regular } from "@fluentui/react-icons";
function MapTest() {
- const { mapTab, currentTab, tabOrder } = useAppStore()
+ const { currentTab, tabOrder } = useAppStore()
const { id } = useMapStore()
const handleDragEnd = (result: any) => {
@@ -94,44 +94,6 @@ function MapTest() {
)
-
- return (
-
-
-
setCurrentTab(data.value as string)}
- style={{ borderBottom: '1px solid var(--colorNeutralShadowKey)' }}
- >
- {Object.entries(mapTab).map(([key]) => (
- }>
- {id[key]?.mapLabel ?? `Tab ${key}`}
-
- } appearance='subtle' onClick={(e) => {
- e.stopPropagation()
- deleteMapTab(key)
- }} />
-
- ))}
-
- } title="Открыть новую вкладку" appearance='subtle' onClick={() => {
- const newId = addMapTab();
- initializeObjectsState(newId, null, null, null, null);
- initializeMapState(newId);
- }} />
-
-
-
- {Object.entries(mapTab).map(([key]) =>
- (
-
-
)
- )}
-
-
-
- );
}
export default MapTest;