mirror of
https://github.com/outline/outline.git
synced 2026-06-27 02:04:23 +03:00
15 lines
283 B
JavaScript
15 lines
283 B
JavaScript
import { SLACK_AUTH_SUCCESS } from 'actions/SlackAuthAction';
|
|
|
|
const team = (state = null, action) => {
|
|
switch (action.type) {
|
|
case SLACK_AUTH_SUCCESS: {
|
|
return {
|
|
...action.team,
|
|
};
|
|
}
|
|
default:
|
|
return state;
|
|
}
|
|
};
|
|
|
|
export default team; |