mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
1 line
823 B
JSON
1 line
823 B
JSON
|
{"ast":null,"code":"// TODO v5: consider to make it private\nexport default function setRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}","map":{"version":3,"sources":["/app/node_modules/@material-ui/core/esm/utils/setRef.js"],"names":["setRef","ref","value","current"],"mappings":"AAAA;AACA,eAAe,SAASA,MAAT,CAAgBC,GAAhB,EAAqBC,KAArB,EAA4B;AACzC,MAAI,OAAOD,GAAP,KAAe,UAAnB,EAA+B;AAC7BA,IAAAA,GAAG,CAACC,KAAD,CAAH;AACD,GAFD,MAEO,IAAID,GAAJ,EAAS;AACdA,IAAAA,GAAG,CAACE,OAAJ,GAAcD,KAAd;AACD;AACF","sourcesContent":["// TODO v5: consider to make it private\nexport default function setRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}"]},"metadata":{},"sourceType":"module"}
|