mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
feat: fix code review
This commit is contained in:
@@ -30,7 +30,7 @@ export const DragItem = function ({
|
||||
);
|
||||
};
|
||||
|
||||
const StyledDiv = styled('div')(theme => ({
|
||||
const StyledDiv = styled('div')(({ theme }) => ({
|
||||
padding: '0',
|
||||
display: 'inline-flex',
|
||||
width: `${ICON_WIDTH}px`,
|
||||
@@ -42,7 +42,7 @@ const StyledDiv = styled('div')(theme => ({
|
||||
},
|
||||
':hover': {
|
||||
backgroundColor: '#F5F7F8',
|
||||
borderRadius: '3.75px',
|
||||
borderRadius: '4px',
|
||||
},
|
||||
}));
|
||||
|
||||
|
||||
@@ -247,7 +247,7 @@ const Draggable = styled(Button)({
|
||||
},
|
||||
':hover': {
|
||||
backgroundColor: '#F5F7F8',
|
||||
borderRadius: '3.75px',
|
||||
borderRadius: '4px',
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user