Skip to content

Commit

Permalink
fix: undefined property
Browse files Browse the repository at this point in the history
  • Loading branch information
tjuanitas committed Jan 13, 2025
1 parent 6a72779 commit 1d83ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements/common/theming/utils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import isObject from 'lodash/isObject';
import kebabCase from 'lodash/kebabCase';

const convertTokensToCustomProperties = (tokens, prefix = '') => {
const convertTokensToCustomProperties = (tokens = {}, prefix = '') => {
const customProperties = {};

Object.entries(tokens).forEach(([level, value]) => {
Expand Down

0 comments on commit 1d83ce3

Please sign in to comment.