mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Create merge function
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
import {assign} from 'lodash';
|
||||
import {merge} from '../helpers';
|
||||
|
||||
import dropEggs from './drops';
|
||||
import questEggs from './quest';
|
||||
|
||||
let allEggs = {};
|
||||
|
||||
assign(allEggs, dropEggs);
|
||||
assign(allEggs, questEggs);
|
||||
let allEggs = merge([dropEggs, questEggs]);
|
||||
|
||||
export default {
|
||||
allEggs: allEggs,
|
||||
|
||||
Reference in New Issue
Block a user