mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
fix dom memory leak
This commit is contained in:
parent
f9483cbb50
commit
7ea2f587f8
@ -143,7 +143,7 @@ export default (props) => {
|
|||||||
|
|
||||||
const renderComments = () => {
|
const renderComments = () => {
|
||||||
if (!comments) {
|
if (!comments) {
|
||||||
return <antd.Skeleton active />
|
return <antd.Skeleton />
|
||||||
}
|
}
|
||||||
|
|
||||||
if (comments.length === 0) {
|
if (comments.length === 0) {
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
//height: 100%;
|
||||||
|
|
||||||
transition: all 150ms ease-in-out;
|
transition: all 150ms ease-in-out;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user