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

1 line
981 B
JSON

{"ast":null,"code":"import { useEffect, useRef } from 'react';\nconst usePrevious = value => {\n const ref = useRef();\n useEffect(() => {\n ref.current = value;\n });\n return ref.current;\n};\nexport default usePrevious;","map":{"version":3,"names":["useEffect","useRef","usePrevious","value","ref","current"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/typography/hooks/usePrevious.js"],"sourcesContent":["import { useEffect, useRef } from 'react';\nconst usePrevious = value => {\n const ref = useRef();\n useEffect(() => {\n ref.current = value;\n });\n return ref.current;\n};\nexport default usePrevious;"],"mappings":"AAAA,SAASA,SAAS,EAAEC,MAAM,QAAQ,OAAO;AACzC,MAAMC,WAAW,GAAGC,KAAK,IAAI;EAC3B,MAAMC,GAAG,GAAGH,MAAM,CAAC,CAAC;EACpBD,SAAS,CAAC,MAAM;IACdI,GAAG,CAACC,OAAO,GAAGF,KAAK;EACrB,CAAC,CAAC;EACF,OAAOC,GAAG,CAACC,OAAO;AACpB,CAAC;AACD,eAAeH,WAAW","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}