Skip to content

Commit 6a87f37

Browse files
committed
[NODE] Removed redundant check
1 parent ac2828d commit 6a87f37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/pheno_ui/lib/parsers/tools/figma_user_data.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class FigmaUserData {
2929
}
3030
}
3131

32-
if (map!.containsKey(key) && (map![key] is Map<String, dynamic> || map![key]['type'] == 'group')) {
32+
if (map!.containsKey(key) && map![key] is Map<String, dynamic>) {
3333
throw 'Bound values and groups cannot be overwritten';
3434
}
3535
map![key] = value;

0 commit comments

Comments
 (0)