Added unused imports and vars and fixed lint (#929)
This commit is contained in:
@ -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