Added unused imports and vars and fixed lint (#929)
This commit is contained in:
@ -140,7 +140,7 @@ export function EditableField({
|
||||
transition={{ duration: 0.1 }}
|
||||
whileHover={{ scale: 1.04 }}
|
||||
>
|
||||
<EditableFieldEditButton customHotkeyScope={customEditHotkeyScope} />
|
||||
<EditableFieldEditButton />
|
||||
</motion.div>
|
||||
)}
|
||||
</EditableFieldBaseContainer>
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import { IconButton } from '@/ui/button/components/IconButton';
|
||||
import { HotkeyScope } from '@/ui/hotkey/types/HotkeyScope';
|
||||
import { IconPencil } from '@/ui/icon';
|
||||
import { overlayBackground } from '@/ui/themes/effects';
|
||||
|
||||
@ -26,11 +25,7 @@ export const StyledEditableFieldEditButton = styled.div`
|
||||
${overlayBackground}
|
||||
`;
|
||||
|
||||
type OwnProps = {
|
||||
customHotkeyScope?: HotkeyScope;
|
||||
};
|
||||
|
||||
export function EditableFieldEditButton({ customHotkeyScope }: OwnProps) {
|
||||
export function EditableFieldEditButton() {
|
||||
const { openEditableField } = useEditableField();
|
||||
|
||||
function handleClick() {
|
||||
|
||||
Reference in New Issue
Block a user