mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-12 12:04:16 +00:00
remove todo
This commit is contained in:
parent
01c66de980
commit
fe6ab1c4a0
@ -11,7 +11,7 @@ const LoadingComponent = () => {
|
|||||||
// FIXME: Im not sure why but, using <antd.Skeleton> will cause a memory leak of DOM Nodes when using IntersectionObserver
|
// FIXME: Im not sure why but, using <antd.Skeleton> will cause a memory leak of DOM Nodes when using IntersectionObserver
|
||||||
//return <antd.Skeleton active />
|
//return <antd.Skeleton active />
|
||||||
|
|
||||||
return <p><Icons.LoadingOutlined spin className="loadingIcon" /> Loading more ...</p>
|
return <p><Icons.LoadingOutlined spin className="loadingIcon" />Loading more ...</p>
|
||||||
}
|
}
|
||||||
|
|
||||||
const NoResultComponent = () => {
|
const NoResultComponent = () => {
|
||||||
@ -31,7 +31,6 @@ export default class PostsLists extends React.Component {
|
|||||||
listRef = React.createRef()
|
listRef = React.createRef()
|
||||||
|
|
||||||
componentDidMount = async () => {
|
componentDidMount = async () => {
|
||||||
// TODO: register keybindings to handle directions key scrolling to posts (use app.shortcuts)
|
|
||||||
window.app.shortcuts.register({
|
window.app.shortcuts.register({
|
||||||
id: "postsFeed.scrollUp",
|
id: "postsFeed.scrollUp",
|
||||||
key: "ArrowUp",
|
key: "ArrowUp",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user