🐛 fixed: deselect in empty data
This commit is contained in:
parent
826712f910
commit
b65631ad9c
@ -106,7 +106,7 @@ export default function NewsIndex() {
|
||||
<div className="overflow-auto leading-7 text-base news-detail-content-container"
|
||||
style={{maxHeight: 500}} dangerouslySetInnerHTML={{__html: activeNews?.content || ''}}></div>
|
||||
</div>
|
||||
<div className="actions ml-3">
|
||||
<div className="actions ml-2">
|
||||
<div className="close">
|
||||
<CloseOutlined className="text-xl text-gray-400 hover:text-gray-800"
|
||||
onClick={() => setActiveNews(undefined)}/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user