mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
fix exports
This commit is contained in:
@@ -33,7 +33,7 @@ function equipmentStatBonusComputed (stat, user) {
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = function statsComputed (user) {
|
||||
export default function statsComputed (user) {
|
||||
let statBreakdown = {
|
||||
gearBonus: {},
|
||||
classBonus: {},
|
||||
@@ -59,4 +59,4 @@ module.exports = function statsComputed (user) {
|
||||
statBreakdown.maxMP = statBreakdown.int * 2 + 30;
|
||||
|
||||
return statBreakdown;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user