mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Refactor armoire content to be cached by day
This commit is contained in:
@@ -5,7 +5,7 @@ import { head as rogueHead } from './sets/rogue';
|
||||
import { head as warriorHead } from './sets/warrior';
|
||||
import { head as wizardHead } from './sets/wizard';
|
||||
|
||||
import { head as armoireHead } from './sets/armoire';
|
||||
import armoire from './sets/armoire';
|
||||
import { head as mysteryHead } from './sets/mystery';
|
||||
import { head as specialHead } from './sets/special';
|
||||
|
||||
@@ -19,7 +19,9 @@ const head = {
|
||||
|
||||
special: specialHead,
|
||||
mystery: mysteryHead,
|
||||
armoire: armoireHead,
|
||||
get armoire () {
|
||||
return armoire.head;
|
||||
},
|
||||
};
|
||||
|
||||
export default head;
|
||||
|
||||
Reference in New Issue
Block a user