chore: enable no-unused vars (#2181)

This commit is contained in:
Himself65
2023-04-28 00:41:06 -05:00
committed by GitHub
parent b6ca2aa063
commit 70fbbb39c1
70 changed files with 206 additions and 225 deletions
@@ -13,7 +13,7 @@ export const Content = styled('div')({
padding: '0 40px',
});
export const ContentTitle = styled('h1')(({ theme }) => {
export const ContentTitle = styled('h1')(() => {
return {
fontSize: 'var(--affine-font-h6)',
lineHeight: '28px',
@@ -21,7 +21,7 @@ export const ContentTitle = styled('h1')(({ theme }) => {
};
});
export const StyleTips = styled('div')(({ theme }) => {
export const StyleTips = styled('div')(() => {
return {
userSelect: 'none',
margin: '20px 0',
@@ -31,7 +31,7 @@ export const StyleTips = styled('div')(({ theme }) => {
};
});
export const StyleButton = styled(Button)(({ theme }) => {
export const StyleButton = styled(Button)(() => {
return {
textAlign: 'center',
margin: '20px 0',