Skip to content

Commit

Permalink
fix: update error overlay display to use designer.activeView instead …
Browse files Browse the repository at this point in the history
…of mode
  • Loading branch information
wwsun committed Aug 5, 2024
1 parent aa318cc commit 3772f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/designer/src/workspace-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const WorkspaceView = observer((props: WorkspaceViewProps) => {
{children}
{/* 添加组件弹层 */}
{display === 'block' && <ComponentsPopover type="inner" isControlled />}
{mode === 'design' && <FileErrorsOverlay />}
{designer.activeView === 'design' && <FileErrorsOverlay />}
</Box>
);
});

0 comments on commit 3772f40

Please sign in to comment.