refactor: optimize replay preview state management and cleanup editor UI components
Build and Release / release (push) Successful in 1m0s
Build and Release / release (push) Successful in 1m0s
This commit is contained in:
@@ -15,7 +15,6 @@ import WikiSidebarPanel from "@/uhm/components/wiki/WikiSidebarPanel";
|
||||
import ProjectEntityRefsPanel from "@/uhm/components/editor/ProjectEntityRefsPanel";
|
||||
import EntityWikiBindingsPanel from "@/uhm/components/editor/EntityWikiBindingsPanel";
|
||||
import GeometryBindingPanel from "@/uhm/components/editor/GeometryBindingPanel";
|
||||
import ImageOverlayPanel from "@/uhm/components/editor/ImageOverlayPanel";
|
||||
import { Entity, fetchEntities, searchEntitiesByName } from "@/uhm/api/entities";
|
||||
import { ApiError } from "@/uhm/api/http";
|
||||
import { fetchCurrentUser } from "@/uhm/api/auth";
|
||||
@@ -2781,15 +2780,6 @@ function EditorPageContent() {
|
||||
isGeoSearching={isGeoSearching}
|
||||
onImportGeoFromSearch={handleImportGeoFromSearch}
|
||||
/>
|
||||
<ImageOverlayPanel
|
||||
overlay={imageOverlay}
|
||||
onPickImage={handlePickImageOverlay}
|
||||
onPasteImage={handlePasteImageOverlay}
|
||||
keyboardEnabled={imageOverlayKeyboardEnabled}
|
||||
onKeyboardEnabledChange={setImageOverlayKeyboardEnabled}
|
||||
onOpacityChange={handleImageOverlayOpacityChange}
|
||||
onRemove={handleRemoveImageOverlay}
|
||||
/>
|
||||
<GeometryBindingPanel
|
||||
geometries={geometryChoices}
|
||||
selectedGeometryId={selectedFeature ? String(selectedFeature.properties.id) : null}
|
||||
|
||||
Reference in New Issue
Block a user