pull/5060/head
bunsenstraat 3 months ago committed by bunsenstraat
parent 20fe46d7bf
commit 9351ea9c32
  1. 2
      libs/remix-ui/git/src/components/panels/commits.tsx
  2. 2
      libs/remix-ui/git/src/lib/gitactions.ts
  3. 2
      libs/remix-ui/git/src/state/gitreducer.tsx

@ -20,7 +20,7 @@ export const Commits = () => {
}; };
const loadNextPage = async () => { const loadNextPage = async () => {
await actions.fetch({ await actions.fetch({
remote: null, remote: null,
ref: context.currentBranch, ref: context.currentBranch,

@ -398,7 +398,7 @@ const tokenWarning = async () => {
const parseError = async (e: any) => { const parseError = async (e: any) => {
console.trace(e) console.trace(e)
if(!e.message) return if (!e.message) return
// if message conttains 401 Unauthorized, show token warning // if message conttains 401 Unauthorized, show token warning
if (e.message.includes('401')) { if (e.message.includes('401')) {

@ -220,7 +220,7 @@ export const gitReducer = (state: gitState = defaultGitState, action: Actions):
...state, ...state,
timestamp: action.payload timestamp: action.payload
} }
case 'SET_GIT_LOG_COUNT': case 'SET_GIT_LOG_COUNT':
return { return {
...state, ...state,

Loading…
Cancel
Save