fix loadnextpage

pull/5060/head
bunsenstraat 3 months ago committed by bunsenstraat
parent 8c064680ee
commit 20fe46d7bf
  1. 8
      libs/remix-ui/git/src/components/panels/commits.tsx

@ -19,9 +19,9 @@ export const Commits = () => {
}
};
const loadNextPage = () => {
actions.setStateGitLogCount(context.gitLogCount + 5)
actions.fetch({
const loadNextPage = async () => {
await actions.fetch({
remote: null,
ref: context.currentBranch,
relative: true,
@ -29,6 +29,8 @@ export const Commits = () => {
singleBranch: true,
quiet: true
})
await actions.setStateGitLogCount(context.gitLogCount + 5)
}
const getRemote = () => {

Loading…
Cancel
Save