blob: 7a2e28183a7a04bd41c522b6594930465ea11523 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { getCookie } from '~/lib/utils/common_utils';
import { VIEW_TYPES } from '../constants';
const diffViewType = getCookie('diff_view');
export default () => ({
isLoading: true,
hasError: false,
isSubmitting: false,
isParallel: diffViewType === VIEW_TYPES.PARALLEL,
diffViewType,
conflictsData: {},
});
|