fix: build error - remove dynamic template from style tag
This commit is contained in:
parent
3fda149049
commit
af2fc31f70
|
|
@ -141,10 +141,6 @@ function AdminHierarchyPage() {
|
|||
}
|
||||
}
|
||||
|
||||
.admin-tree-view {
|
||||
${selectedItem ? 'display: none;' : 'display: block;'}
|
||||
}
|
||||
|
||||
.admin-tabs {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
|
|
@ -261,6 +257,7 @@ function HierarchyTab({ hierarchy, expandedNodes, selectedItem, loading, error,
|
|||
<div
|
||||
className="admin-tree-view"
|
||||
style={{
|
||||
display: selectedItem ? 'none' : 'block',
|
||||
border: '1px solid var(--border)',
|
||||
borderRadius: '12px',
|
||||
padding: '16px',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user