File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ const processNodePair = async (
164164 jsonNode : any ,
165165 figmaNode : SceneNode ,
166166 settings : PluginSettings ,
167- parentNode ?: any
167+ parentNode ?: any ,
168168) => {
169169 if ( ! jsonNode . id ) return ;
170170
@@ -375,7 +375,7 @@ const processNodePair = async (
375375 jsonNode . children [ i ] ,
376376 figmaNode . children [ i ] ,
377377 settings ,
378- jsonNode // Pass the current node as parent for its children
378+ jsonNode , // Pass the current node as parent for its children
379379 ) ;
380380 }
381381
@@ -418,6 +418,9 @@ export const nodesToJSON = async (
418418 ) . document ,
419419 ) ,
420420 ) ) as SceneNode [ ] ;
421+
422+ console . log ( "[debug] initial nodeJson" , { ...nodeJson [ 0 ] } ) ;
423+
421424 console . log (
422425 `[benchmark][inside nodesToJSON] JSON_REST_V1 export: ${ Date . now ( ) - exportJsonStart } ms` ,
423426 ) ;
Original file line number Diff line number Diff line change @@ -197,7 +197,6 @@ const createDirectionalStack = (
197197const getLayoutAlignment = (
198198 inferredAutoLayout : InferredAutoLayoutResult ,
199199) : string => {
200- console . log ( "inferred is" , inferredAutoLayout ) ;
201200 switch ( inferredAutoLayout . counterAxisAlignItems ) {
202201 case "MIN" :
203202 return inferredAutoLayout . layoutMode === "VERTICAL" ? ".leading" : ".top" ;
Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ export class TailwindDefaultBuilder {
9595 }
9696
9797 commonShapeStyles ( ) : this {
98- console . log ( "this.node is" , this . node ) ;
9998 this . customColor ( ( this . node as MinimalFillsMixin ) . fills , "bg" ) ;
10099 this . radius ( ) ;
101100 this . shadow ( ) ;
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ export function CopyButton({
2727 if ( isCopied ) {
2828 const timer = setTimeout ( ( ) => {
2929 setIsCopied ( false ) ;
30- console . log ( "iscopied false" ) ;
3130 } , successDuration ) ;
3231
3332 return ( ) => clearTimeout ( timer ) ;
@@ -38,7 +37,6 @@ export function CopyButton({
3837 try {
3938 copy ( value ) ;
4039 setIsCopied ( true ) ;
41- console . log ( "iscopied true" ) ;
4240 } catch ( error ) {
4341 console . error ( "Failed to copy text: " , error ) ;
4442 }
You can’t perform that action at this time.
0 commit comments