We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b35064 commit 2f1059eCopy full SHA for 2f1059e
code/src/ui/src/components/SystemCard.tsx
@@ -94,8 +94,11 @@ export const SystemCard: React.FC<Props> = ({
94
console.log('Design system already exists');
95
} else {
96
if (themeBuilder) {
97
- //const ds = await themeBuilder.getDesignSystem(name);
98
- //const nds = await ds.copy(dest);
+ const ds = await themeBuilder.getDesignSystem(name);
+ const nds = await ds.copy(dest);
99
+ if (!nds) {
100
+ console.log("failed to copy design system: ", name);
101
+ }
102
}
103
setTimeout(function () {
104
refresh();
0 commit comments