Skip to content

Commit 2f1059e

Browse files
committed
#1124: issue caused by lint fixing. Made better lint fix.
1 parent 9b35064 commit 2f1059e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

code/src/ui/src/components/SystemCard.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,11 @@ export const SystemCard: React.FC<Props> = ({
9494
console.log('Design system already exists');
9595
} else {
9696
if (themeBuilder) {
97-
//const ds = await themeBuilder.getDesignSystem(name);
98-
//const nds = await ds.copy(dest);
97+
const ds = await themeBuilder.getDesignSystem(name);
98+
const nds = await ds.copy(dest);
99+
if (!nds) {
100+
console.log("failed to copy design system: ", name);
101+
}
99102
}
100103
setTimeout(function () {
101104
refresh();

0 commit comments

Comments
 (0)