PromoCursed/node_modules/.cache/babel-loader/5dd596d081eda416a65753ef3d869eccd4575ea59316fe9bebb5724ee6239c40.json
2024-08-20 23:25:37 +04:00

1 line
1.1 KiB
JSON

{"ast":null,"code":"import canUseDom from \"rc-util/es/Dom/canUseDom\";\nimport { useEffect, useLayoutEffect } from 'react';\n\n// It's safe to use `useLayoutEffect` but the warning is annoying\nvar useIsomorphicLayoutEffect = canUseDom() ? useLayoutEffect : useEffect;\nexport default useIsomorphicLayoutEffect;","map":{"version":3,"names":["canUseDom","useEffect","useLayoutEffect","useIsomorphicLayoutEffect"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js"],"sourcesContent":["import canUseDom from \"rc-util/es/Dom/canUseDom\";\nimport { useEffect, useLayoutEffect } from 'react';\n\n// It's safe to use `useLayoutEffect` but the warning is annoying\nvar useIsomorphicLayoutEffect = canUseDom() ? useLayoutEffect : useEffect;\nexport default useIsomorphicLayoutEffect;"],"mappings":"AAAA,OAAOA,SAAS,MAAM,0BAA0B;AAChD,SAASC,SAAS,EAAEC,eAAe,QAAQ,OAAO;;AAElD;AACA,IAAIC,yBAAyB,GAAGH,SAAS,CAAC,CAAC,GAAGE,eAAe,GAAGD,SAAS;AACzE,eAAeE,yBAAyB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}