Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nikk15 committed Jul 27, 2023
1 parent bba7461 commit e33ad40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/utils/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,8 @@ function getCurrentTheme() {

function getThemeColor(name) {
const theme = getCurrentTheme();
console.log(theme)
// theme?.[name] ensures legacy variables for nametag colors are taken into account
return theme?.variables?.[name] || theme?.[name] || DEFAULT_COLORS[name];
// config?.theme?.[name] ensures legacy variables for nametag colors are taken into account
return theme?.variables?.[name] || config?.theme?.[name] || DEFAULT_COLORS[name];
}

function updateTextButtonColors() {
Expand Down
1 change: 0 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ module.exports = async (env, argv) => {
/**
* Initialize the Webpack build envrionment for the provided environment.
*/

if (argv.mode !== "production" || env.bundleAnalyzer) {
if (env.loadAppConfig || process.env.LOAD_APP_CONFIG) {
if (!env.localDev) {
Expand Down

0 comments on commit e33ad40

Please sign in to comment.