Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Feb 12, 2024
1 parent 7ed728f commit 58f8b93
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions packages/mui-material/src/usePagination/usePagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ export default function usePagination(props = {}) {
...(siblingsStart > boundaryCount + 2
? ['start-ellipsis']
: boundaryCount + 1 < count - boundaryCount
? [boundaryCount + 1]
: []),
? [boundaryCount + 1]
: []),

// Sibling pages
...range(siblingsStart, siblingsEnd),
Expand All @@ -89,8 +89,8 @@ export default function usePagination(props = {}) {
...(siblingsEnd < count - boundaryCount - 1
? ['end-ellipsis']
: count - boundaryCount > boundaryCount
? [count - boundaryCount]
: []),
? [count - boundaryCount]
: []),

...endPages,
...(hideNextButton ? [] : ['next']),
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-system/src/Container/createContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default function createContainer<Theme extends RequiredThemeStructure = D
paddingRight: theme.spacing(3),
},
}),
} as Interpolation<StyleFnProps<Theme>>),
}) as Interpolation<StyleFnProps<Theme>>,
({ theme, ownerState }: StyleFnProps<Theme>) =>
ownerState.fixed &&
Object.keys(theme.breakpoints.values).reduce((acc, breakpointValueKey) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ const extendTheme = (themeInput: JoyThemeInput) =>
dark: { palette: { primary: { main: '' } } },
},
fontSize: { md: '' },
} as {
}) as {
colorSchemes: Record<JoyColorScheme, { palette: { primary: { main: string } } }>;
fontSize: { md: string };
});
};

const { CssVarsProvider, useColorScheme } = createCssVarsProvider<JoyColorScheme>({
defaultColorScheme: 'light',
Expand Down

0 comments on commit 58f8b93

Please sign in to comment.