GoScrobble/web/node_modules/.cache/babel-loader/92a251ce633ca1522defee366b775673.json

1 line
1.4 KiB
JSON
Raw Normal View History

2022-04-25 02:47:15 +00:00
{"ast":null,"code":"import { useTheme as useThemeWithoutDefault } from '@material-ui/styles';\nimport React from 'react';\nimport defaultTheme from './defaultTheme';\nexport default function useTheme() {\n var theme = useThemeWithoutDefault() || defaultTheme;\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n\n return theme;\n}","map":{"version":3,"sources":["/app/node_modules/@material-ui/core/esm/styles/useTheme.js"],"names":["useTheme","useThemeWithoutDefault","React","defaultTheme","theme","process","env","NODE_ENV","useDebugValue"],"mappings":"AAAA,SAASA,QAAQ,IAAIC,sBAArB,QAAmD,qBAAnD;AACA,OAAOC,KAAP,MAAkB,OAAlB;AACA,OAAOC,YAAP,MAAyB,gBAAzB;AACA,eAAe,SAASH,QAAT,GAAoB;AACjC,MAAII,KAAK,GAAGH,sBAAsB,MAAME,YAAxC;;AAEA,MAAIE,OAAO,CAACC,GAAR,CAAYC,QAAZ,KAAyB,YAA7B,EAA2C;AACzC;AACAL,IAAAA,KAAK,CAACM,aAAN,CAAoBJ,KAApB;AACD;;AAED,SAAOA,KAAP;AACD","sourcesContent":["import { useTheme as useThemeWithoutDefault } from '@material-ui/styles';\nimport React from 'react';\nimport defaultTheme from './defaultTheme';\nexport default function useTheme() {\n var theme = useThemeWithoutDefault() || defaultTheme;\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n\n return theme;\n}"]},"metadata":{},"sourceType":"module"}