Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

fix: config warning #540

Merged
merged 1 commit into from
Nov 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions packages/react/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,11 +360,12 @@ export const platformSpecificSpaceUnits = (theme: Config, platform: string) => {
if (newTheme.tokens) {
//@ts-ignore
newTheme.tokens[key] = newScale;
} else {
console.warn(
'No tokens found in config! Please pass config in Provider to resolve styles!'
);
}
// else {
// console.warn(
// 'No tokens found in config! Please pass config in Provider to resolve styles!'
// );
// }
});
return newTheme;
};
Expand Down