mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
1 line
1.4 KiB
JSON
1 line
1.4 KiB
JSON
{"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"} |