largegittest2
bunsenstraat 3 months ago
parent 31a0f7e2ec
commit 6088ce978a
  1. 14
      libs/remix-ui/app/src/lib/remix-app/reducer/app.ts
  2. 2
      libs/remix-ui/app/src/lib/remix-app/state/app.ts
  3. 1
      libs/remix-ui/git/src/components/panels/setup.tsx

@ -2,12 +2,12 @@ import { AppAction, appActionTypes } from "../actions/app";
import { AppState } from "../interface";
export const appReducer = (state: AppState, action: AppAction): AppState => {
switch (action.type) {
case appActionTypes.setGitHubUser:{
return {
...state,
gitHubUser: action.payload
}
}
switch (action.type) {
case appActionTypes.setGitHubUser:{
return {
...state,
gitHubUser: action.payload
}
}
}
}

@ -2,5 +2,5 @@ import { GitHubUser } from "@remix-ui/git";
import { AppState } from "../interface";
export const appInitialState: AppState = {
gitHubUser: {} as GitHubUser,
gitHubUser: {} as GitHubUser,
}

@ -5,7 +5,6 @@ import { FormattedMessage } from 'react-intl'
export const Setup = ({ callback }) => {
const startSetingUp = () => {
callback(gitUIPanels.GITHUB)
}

Loading…
Cancel
Save