[hotfix] avoid useless maps loading when going directly to mods or models

This commit is contained in:
MathieuG-P
2023-06-28 20:26:13 +02:00
parent a8be987158
commit 4667c80904
6 changed files with 34 additions and 16 deletions
@@ -41,7 +41,6 @@ export function BsmButton({className, style, imgClassName, iconClassName, icon,
const textColor = (() => {
if(primaryColor){
console.log(getCorrectTextColor(primaryColor), text);
return getCorrectTextColor(primaryColor);
}
return typeColor ? "white" : undefined;