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

1 line
992 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/Аришина)/source/repos/PromoCursed/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":[]}