-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reduced warnings and improved theme files
- Loading branch information
1 parent
a9c0254
commit 4a36109
Showing
5 changed files
with
25 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import type { Theme } from '@mui/material' | ||
import { createTheme } from '@mui/material' | ||
|
||
export const shapeFragment = (theme: Theme): Theme => createTheme({ shape: { borderRadius: 4 } }) | ||
export const shapeFragment = (_theme?: Theme): Theme => createTheme({ shape: { borderRadius: 4 } }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import type { Theme } from '@mui/material' | ||
import { createTheme } from '@mui/material' | ||
|
||
export const spacingFragment = (theme: Theme): Theme => createTheme({ spacing: 8 }) | ||
export const spacingFragment = (_theme?: Theme): Theme => createTheme({ spacing: 8 }) |