diff --git a/app/screens/bookmark-screen/bookmark-screen.tsx b/app/screens/bookmark-screen/bookmark-screen.tsx index 47fa8eac3..343956fc4 100644 --- a/app/screens/bookmark-screen/bookmark-screen.tsx +++ b/app/screens/bookmark-screen/bookmark-screen.tsx @@ -11,10 +11,10 @@ import { Screen } from "../../components/screen" @inject("readerStore") @observer export class BookmarkScreen extends React.Component { - list = React.createRef() - componentDidMount() { - this.list.current.props.onRefresh() + if (!this.props.readerStore.hasFetchedBookmarkList) { + this.props.readerStore.fetchBookmarkList() + } } private onBookmarkContentItem = (url: string) => { @@ -34,7 +34,6 @@ export class BookmarkScreen extends React.Component { >