Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 committed Feb 7, 2025
1 parent ababc4e commit 447505d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ export default function transformer(file, api, options) {
.filter((path) => path.node.source.value.match(/^@mui\/material\/Slider$/))
.forEach((path) => {
path.node.specifiers.forEach((specifier) => {
if (specifier.type === 'ImportSpecifier' && specifier.imported.name === 'inputBaseClasses') {
if (
specifier.type === 'ImportSpecifier' &&
specifier.imported.name === 'inputBaseClasses'
) {
const deprecatedAtomicClass = deprecatedClass.replace(
`${deprecatedClass.split('-')[0]}-`,
'',
Expand Down

0 comments on commit 447505d

Please # to comment.