button not updated when press in react hooks?
import React, {Fragment, useEffect, useState} from \'react\'; const LoadMoreButton = (props) => { const