Skip to content

Commit

Permalink
linting + merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrusjc committed Apr 9, 2024
1 parent 6c12ed0 commit aecfd27
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions webapp/src/components/github_repo_selector/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import GithubRepoSelector from './github_repo_selector.jsx';

function mapStateToProps(state) {
return {
yourOrgs: state[`plugins-${pluginId}`].yourOrgs,
yourReposByOrg: state[`plugins-${pluginId}`].yourReposByOrg,
yourOrgs: state[`plugins-${manifest.id}`].yourOrgs,
yourReposByOrg: state[`plugins-${manifest.id}`].yourReposByOrg,
};
}

Expand Down
11 changes: 8 additions & 3 deletions webapp/src/reducers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,14 @@ function username(state = '', action) {
}
}

function userSettings(state = {sidebar_buttons: Constants.SETTING_BUTTONS_TEAM, daily_reminder: true, notifications: true}, action) {
function userSettings(
state = {
sidebar_buttons: Constants.SETTING_BUTTONS_TEAM,
daily_reminder: true,
notifications: true,
},
action,
) {
switch (action.type) {
case ActionTypes.RECEIVED_CONNECTED:
return action.data.user_settings;
Expand Down Expand Up @@ -240,8 +247,6 @@ export default combineReducers({
yourRepos,
yourReposByOrg,
yourOrgs,
yourPrsDetails,
yourAssignments,
yourPrDetails,
mentions,
githubUsers,
Expand Down

0 comments on commit aecfd27

Please sign in to comment.